mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Be pedantic: mark the pcpu pointer (= register r13) itself as volatile.
This commit is contained in:
parent
dc03be9d67
commit
7fb64531d3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue