Module Name: src
Committed By: mhitch
Date: Wed May 6 21:41:59 UTC 2009
Modified Files:
src/sys/arch/vax/include: intr.h
Log Message:
Add __insn_barrier() to _splset(). See also kern/38637.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/vax/include/intr.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/vax/include/intr.h
diff -u src/sys/arch/vax/include/intr.h:1.27 src/sys/arch/vax/include/intr.h:1.28
--- src/sys/arch/vax/include/intr.h:1.27 Wed Feb 20 16:37:52 2008
+++ src/sys/arch/vax/include/intr.h Wed May 6 21:41:59 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.27 2008/02/20 16:37:52 matt Exp $ */
+/* $NetBSD: intr.h,v 1.28 2009/05/06 21:41:59 mhitch Exp $ */
/*
* Copyright (c) 1998 Matt Thomas.
@@ -73,6 +73,7 @@
_splset(ipl_t ipl)
{
mtpr(ipl, PR_IPL);
+ __insn_barrier();
}
static inline ipl_t