summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2011-05-14 14:40:24 +0000
committermarcel <marcel@FreeBSD.org>2011-05-14 14:40:24 +0000
commit5a5941f823ad182ae1323de5474eb05d68bd87e8 (patch)
tree854c5b5c0a9eecfc3cd6f4d82b4bfb6d6619721f /sys/ia64
parent2619d467b312c60d5de6c953041fc2da2739f365 (diff)
downloadFreeBSD-src-5a5941f823ad182ae1323de5474eb05d68bd87e8.zip
FreeBSD-src-5a5941f823ad182ae1323de5474eb05d68bd87e8.tar.gz
Be pedantic: mark the pcpu pointer (= register r13) itself as volatile.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/include/pcpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/include/pcpu.h b/sys/ia64/include/pcpu.h
index 58403aa..05e2cc1 100644
--- a/sys/ia64/include/pcpu.h
+++ b/sys/ia64/include/pcpu.h
@@ -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)
OpenPOWER on IntegriCloud