diff options
author | marcel <marcel@FreeBSD.org> | 2011-05-14 14:40:24 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2011-05-14 14:40:24 +0000 |
commit | 5a5941f823ad182ae1323de5474eb05d68bd87e8 (patch) | |
tree | 854c5b5c0a9eecfc3cd6f4d82b4bfb6d6619721f /sys/ia64 | |
parent | 2619d467b312c60d5de6c953041fc2da2739f365 (diff) | |
download | FreeBSD-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.h | 2 |
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) |