Date: Fri, 25 Jan 2002 14:07:48 -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.44292.152925.217766@grasshopper.cs.duke.edu> In-Reply-To: <001401c1a5d2$d96bcb40$03e2cbd8@server> References: <15441.43775.191953.219307@grasshopper.cs.duke.edu> <001401c1a5d2$d96bcb40$03e2cbd8@server>
next in thread | previous in thread | raw e-mail | index | archive | help
Server Admin writes: > Is CRITICAL_FORK defined in the scope of that function ? I'm not familiar > with the code, but I figured that might be a possibility. > Ah.. Duh! Thanks for making me hunt down the define of CRITICAL_FORK. I was assuming it was constant & gcc was complaining about assigning into td->td_savecrit. But CRITICAL_FORK is defined like this: cpufunc.h:#define CRITICAL_FORK (mfmsr() |= PSL_EE) And gcc is correctly complaining about |='ing a function return. Now I need to learn something about ppc so I know what the heck mfmsr is ;) Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ppc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15441.44292.152925.217766>