Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2017 16:32:24 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r318412 - head/sys/sparc64/include
Message-ID:  <201705171632.v4HGWO8Y016963@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705171632.v4HGWO8Y016963>