Module Name: src Committed By: pooka Date: Sat Mar 15 15:22:42 UTC 2014
Modified Files: src/sys/rump/librump/rumpkern: Makefile.rumpkern Log Message: Use uniprocessor-optimized locking in RUMP_LOCKS_UP=yes (default: no) To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141 src/sys/rump/librump/rumpkern/Makefile.rumpkern Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/librump/rumpkern/Makefile.rumpkern diff -u src/sys/rump/librump/rumpkern/Makefile.rumpkern:1.140 src/sys/rump/librump/rumpkern/Makefile.rumpkern:1.141 --- src/sys/rump/librump/rumpkern/Makefile.rumpkern:1.140 Thu Mar 13 01:34:06 2014 +++ src/sys/rump/librump/rumpkern/Makefile.rumpkern Sat Mar 15 15:22:42 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.rumpkern,v 1.140 2014/03/13 01:34:06 pooka Exp $ +# $NetBSD: Makefile.rumpkern,v 1.141 2014/03/15 15:22:42 pooka Exp $ # .include "${RUMPTOP}/Makefile.rump" @@ -38,8 +38,11 @@ CPPFLAGS+= -DRUMP_KERNEL_IS_LIBC # Multiprocessor or uniprocessor locking. TODO: select right # locking at runtime. +.if ${RUMP_LOCKS_UP:Uno} == "yes" +SRCS+= locks_up.c +.else SRCS+= locks.c -#SRCS+= locks_up.c +.endif MKREPRO?=no