aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64
diff options
context:
space:
mode:
authorJason A. Harmening <jah@FreeBSD.org>2017-02-04 06:24:49 +0000
committerJason A. Harmening <jah@FreeBSD.org>2017-02-04 06:24:49 +0000
commitad62ba6e96f00cff4b6da027168e1b7561549def (patch)
treea9d85760b78c1fa5c8b21d0dc70ff6faf1a55b61 /sys/sparc64
parentc0bde750ac2516a640c198e02d69c48357bcc810 (diff)
downloadsrc-ad62ba6e96f00cff4b6da027168e1b7561549def.tar.gz
src-ad62ba6e96f00cff4b6da027168e1b7561549def.zip
Revert r313037
The switch to get_pcpu() in MI code seems to cause hangs on MIPS. Back out until we can get a better idea of what's happening there. Reported by: kan, lidl
Notes
Notes: svn path=/head/; revision=313193
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/include/pcpu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/sparc64/include/pcpu.h b/sys/sparc64/include/pcpu.h
index 51524fba4a0a..df43810ef0b5 100644
--- a/sys/sparc64/include/pcpu.h
+++ b/sys/sparc64/include/pcpu.h
@@ -74,7 +74,6 @@ struct pcpu;
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)
static __inline __pure2 struct thread *