Port-vax archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kernel link failures in subr_prf.c
Hi all,
Currently, linking a kernel on vax fails for a number of reasons (check
out
http://releng.netbsd.org/builds/HEAD/200801270002Z/vax.build.failed).
One of them is undefined references to Slocktry and Sunlock in
subr_prf.c. The following patch fixes the problem, but based on the
comment in revision 1.15 of subr.S I'm not sure that this is the right
thing to do.
-Henry Bent
hbent%cs.oberlin.edu@localhost
--- subr.S.orig 2007-11-25 21:14:33.000000000 -0500
+++ subr.S 2008-01-29 21:16:24.000000000 -0500
@@ -480,8 +480,6 @@
movl %r1,%r0
ret
-#if defined(MULTIPROCESSOR) || defined(DEBUG) || defined(DIAGNOSTIC) ||
defined(LOCKDEBUG)
-
JSBENTRY(Slock)
1: bbssi $0,(%r1),1b
rsb
@@ -496,8 +494,6 @@
bbcci $0,(%r1),1f
1: rsb
-#endif
-
#
# data department
#
Home |
Main Index |
Thread Index |
Old Index