summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-09-15 21:28:35 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-09-15 21:28:35 +0000
commitb9b54f0247f753e762b581edb22abe5be96d8e8d (patch)
tree2117db657f3cbdcfb2872007db03b02abcd14078
parentbc61fc7ee720db268fd23d74f0d3b69ef7796343 (diff)
force ordering in splraise
-rw-r--r--sys/arch/hppa/include/intr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/intr.h b/sys/arch/hppa/include/intr.h
index a98507fd803..9f58301fc70 100644
--- a/sys/arch/hppa/include/intr.h
+++ b/sys/arch/hppa/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.17 2004/04/07 18:24:19 mickey Exp $ */
+/* $OpenBSD: intr.h,v 1.18 2004/09/15 21:28:34 mickey Exp $ */
/*
* Copyright (c) 2002-2004 Michael Shalayeff
@@ -92,7 +92,7 @@ splraise(int ncpl)
if (ocpl < ncpl)
cpl = ncpl;
- __asm __volatile ("nop" : "+r" (cpl));
+ __asm __volatile ("sync" : "+r" (cpl));
return (ocpl);
}