fix sparc64 build by restoring 'register' in pcpu.h
Reported by: jhb Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
9c06c1c42a
commit
366e9e4538
@ -71,8 +71,8 @@ extern void *dpcpu0;
|
||||
struct pcb;
|
||||
struct pcpu;
|
||||
|
||||
struct pcb *curpcb __asm__(__XSTRING(PCB_REG));
|
||||
struct pcpu *pcpup __asm__(__XSTRING(PCPU_REG));
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user