summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/locore.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/locore.S b/sys/arch/hppa/hppa/locore.S
index d4430e2f00b..7011bc9e498 100644
--- a/sys/arch/hppa/hppa/locore.S
+++ b/sys/arch/hppa/hppa/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.183 2010/12/30 14:30:12 jsing Exp $ */
+/* $OpenBSD: locore.S,v 1.184 2010/12/30 15:10:54 kettenis Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -680,6 +680,10 @@ $syscall_return
/* t3 == VA trapframe */
/* disable interrupts, just in case */
+#ifdef MULTIPROCESSOR
+ mfctl eiem, t1
+ stw t1, TF_CR15(t3)
+#endif
mtctl r0, eiem
/*