]> err.no Git - linux-2.6/blobdiff - include/asm-sparc64/pstate.h
xen: Use wmb instead of rmb in xen_evtchn_do_upcall().
[linux-2.6] / include / asm-sparc64 / pstate.h
index 49a7924a89abecb0058345c0e83746dc520cd720..a26a53777bb06b51fccd5d8add777039be1dfcf5 100644 (file)
@@ -1,8 +1,7 @@
-/* $Id: pstate.h,v 1.6 1997/06/25 07:39:45 jj Exp $ */
 #ifndef _SPARC64_PSTATE_H
 #define _SPARC64_PSTATE_H
 
-#include <asm/const.h>
+#include <linux/const.h>
 
 /* The V9 PSTATE Register (with SpitFire extensions).
  *
@@ -62,6 +61,7 @@
 #define TSTATE_PRIV    _AC(0x0000000000000400,UL) /* Privilege.        */
 #define TSTATE_IE      _AC(0x0000000000000200,UL) /* Interrupt Enable. */
 #define TSTATE_AG      _AC(0x0000000000000100,UL) /* Alternate Globals.*/
+#define TSTATE_SYSCALL _AC(0x0000000000000020,UL) /* in syscall trap   */
 #define TSTATE_CWP     _AC(0x000000000000001f,UL) /* Curr Win-Pointer. */
 
 /* Floating-Point Registers State Register.