Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2002 14:20:59 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        "Server Admin" <dump@sherline.com>
Cc:        <freebsd-ppc@freebsd.org>
Subject:   Re: compiler problems?
Message-ID:  <15441.45083.955838.925014@grasshopper.cs.duke.edu>
In-Reply-To: <001401c1a5d2$d96bcb40$03e2cbd8@server>
References:  <15441.43775.191953.219307@grasshopper.cs.duke.edu> <001401c1a5d2$d96bcb40$03e2cbd8@server>

index | next in thread | previous in thread | raw e-mail


It looks like it was a simple typo & should have been this:

Index: cpufunc.h
===================================================================
RCS file: /home/ncvs/src/sys/powerpc/include/cpufunc.h,v
retrieving revision 1.6
diff -u -r1.6 cpufunc.h
--- cpufunc.h	18 Dec 2001 00:27:17 -0000	1.6
+++ cpufunc.h	25 Jan 2002 19:13:34 -0000
@@ -35,7 +35,7 @@
 
 #include <machine/psl.h>
 
-#define	CRITICAL_FORK	(mfmsr() |= PSL_EE)
+#define	CRITICAL_FORK	(mfmsr() | PSL_EE)
 
 #ifdef __GNUC__
 

Whee..  Fixing the typo gets me as far as failing to mount root!

Drew

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ppc" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15441.45083.955838.925014>