Author: emaste
Date: Tue Apr 10 16:44:40 2018
New Revision: 332380
URL: https://svnweb.freebsd.org/changeset/base/332380

Log:
  MFC r318412: fix sparc64 build by restoring 'register' in pcpu.h

Modified:
  stable/11/sys/sparc64/include/pcpu.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/sparc64/include/pcpu.h
==============================================================================
--- stable/11/sys/sparc64/include/pcpu.h        Tue Apr 10 15:54:29 2018        
(r332379)
+++ stable/11/sys/sparc64/include/pcpu.h        Tue Apr 10 16:44:40 2018        
(r332380)
@@ -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        PCPU_GET(member)        (pcpup->pc_ ## member)
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to