From 366e9e4538645d24e8cf57831d41ab67fc349977 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 17 May 2017 16:32:24 +0000 Subject: [PATCH] fix sparc64 build by restoring 'register' in pcpu.h Reported by: jhb Sponsored by: The FreeBSD Foundation --- sys/sparc64/include/pcpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sparc64/include/pcpu.h b/sys/sparc64/include/pcpu.h index bf3d4afbdb8f..c54c45b2443f 100644 --- a/sys/sparc64/include/pcpu.h +++ b/sys/sparc64/include/pcpu.h @@ -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)