Be pedantic: mark the pcpu pointer (= register r13) itself as volatile.
This commit is contained in:
parent
dc03be9d67
commit
7fb64531d3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user