Date: Tue, 10 Apr 2018 16:44:40 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r332380 - stable/11/sys/sparc64/include Message-ID: <201804101644.w3AGiecB076006@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804101644.w3AGiecB076006>