svn commit: r221890 - head/sys/ia64/include
Marcel Moolenaar
marcel at FreeBSD.org
Sat May 14 14:40:24 UTC 2011
Author: marcel
Date: Sat May 14 14:40:24 2011
New Revision: 221890
URL: http://svn.freebsd.org/changeset/base/221890
Log:
Be pedantic: mark the pcpu pointer (= register r13) itself as volatile.
Modified:
head/sys/ia64/include/pcpu.h
Modified: head/sys/ia64/include/pcpu.h
==============================================================================
--- head/sys/ia64/include/pcpu.h Sat May 14 14:36:08 2011 (r221889)
+++ head/sys/ia64/include/pcpu.h Sat May 14 14:40:24 2011 (r221890)
@@ -68,7 +68,7 @@ struct pcpu_md {
struct pcpu;
-register struct pcpu *pcpup __asm__("r13");
+register struct pcpu * volatile pcpup __asm__("r13");
static __inline __pure2 struct thread *
__curthread(void)
More information about the svn-src-all
mailing list