fix sparc64 build by restoring 'register' in pcpu.h

Reported by:	jhb
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2017-05-17 16:32:24 +00:00
parent 9c06c1c42a
commit 366e9e4538

View File

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