svn commit: r318412 - head/sys/sparc64/include
Ed Maste
emaste at FreeBSD.org
Wed May 17 16:32:26 UTC 2017
Author: emaste
Date: Wed May 17 16:32:24 2017
New Revision: 318412
URL: https://svnweb.freebsd.org/changeset/base/318412
Log:
fix sparc64 build by restoring 'register' in pcpu.h
Reported by: jhb
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/sparc64/include/pcpu.h
Modified: head/sys/sparc64/include/pcpu.h
==============================================================================
--- head/sys/sparc64/include/pcpu.h Wed May 17 15:59:45 2017 (r318411)
+++ head/sys/sparc64/include/pcpu.h Wed May 17 16:32:24 2017 (r318412)
@@ -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)
More information about the svn-src-head
mailing list