From 7fb64531d3ffe6bacf76b8edd256e131d8280fc5 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sat, 14 May 2011 14:40:24 +0000 Subject: [PATCH] Be pedantic: mark the pcpu pointer (= register r13) itself as volatile. --- sys/ia64/include/pcpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ia64/include/pcpu.h b/sys/ia64/include/pcpu.h index 58403aad587..05e2cc1b300 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)