diff options
| author | Jason A. Harmening <jah@FreeBSD.org> | 2017-02-19 02:03:09 +0000 |
|---|---|---|
| committer | Jason A. Harmening <jah@FreeBSD.org> | 2017-02-19 02:03:09 +0000 |
| commit | e2a8d17887d524f824bb1d992483c18072418d3e (patch) | |
| tree | 9084d36abe2ce04450b2f804f1fcf8409c3b40c5 /sys/sparc64/include | |
| parent | 5c5df0d99becd2e273d9d71be35b5778adec2399 (diff) | |
Notes
Diffstat (limited to 'sys/sparc64/include')
| -rw-r--r-- | sys/sparc64/include/pcpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sparc64/include/pcpu.h b/sys/sparc64/include/pcpu.h index df43810ef0b5d..51524fba4a0aa 100644 --- a/sys/sparc64/include/pcpu.h +++ b/sys/sparc64/include/pcpu.h @@ -74,6 +74,7 @@ struct pcpu; register struct pcb *curpcb __asm__(__XSTRING(PCB_REG)); register struct pcpu *pcpup __asm__(__XSTRING(PCPU_REG)); +#define get_pcpu() (pcpup) #define PCPU_GET(member) (pcpup->pc_ ## member) static __inline __pure2 struct thread * |
