]> err.no Git - linux-2.6/blobdiff - include/asm-sparc64/pstate.h
Ensure interrupted recovery completed properly (v1 metadata plus bitmap)
[linux-2.6] / include / asm-sparc64 / pstate.h
index 1181d73315a61f607c652b13034a77d357c4c2c3..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).
  *
@@ -28,9 +27,9 @@
 
 /* The V9 TSTATE Register (with SpitFire and Linux extensions).
  *
- * ---------------------------------------------------------------
+ * ---------------------------------------------------------------------
  * |  Resv |  GL  |  CCR  |  ASI  |  %pil  |  PSTATE  |  Resv  |  CWP  |
- * ---------------------------------------------------------------
+ * ---------------------------------------------------------------------
  *  63   43 42  40 39   32 31   24 23    20 19       8 7      5 4     0
  */
 #define TSTATE_GL      _AC(0x0000070000000000,UL) /* Global reg level  */
@@ -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.