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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to