Be pedantic: mark the pcpu pointer (= register r13) itself as volatile.

This commit is contained in:
Marcel Moolenaar 2011-05-14 14:40:24 +00:00
parent dc03be9d67
commit 7fb64531d3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221890

View File

@ -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)