]> Pileus Git - ~andy/linux/blobdiff - include/asm-sparc64/pstate.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[~andy/linux] / include / asm-sparc64 / pstate.h
index 29fb74aa805d48d4474f9a6e34a264f160cc3eb3..f3c45484c63635fef86342942d715ce83ea25c16 100644 (file)
@@ -2,7 +2,7 @@
 #ifndef _SPARC64_PSTATE_H
 #define _SPARC64_PSTATE_H
 
-#include <asm/const.h>
+#include <linux/const.h>
 
 /* The V9 PSTATE Register (with SpitFire extensions).
  *
 
 /* The V9 TSTATE Register (with SpitFire and Linux extensions).
  *
- * ---------------------------------------------------------------
- * |  Resv  |  CCR  |  ASI  |  %pil  |  PSTATE  |  Resv  |  CWP  |
- * ---------------------------------------------------------------
- *  63    40 39   32 31   24 23    20 19       8 7      5 4     0
+ * ---------------------------------------------------------------------
+ * |  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  */
 #define TSTATE_CCR     _AC(0x000000ff00000000,UL) /* Condition Codes.  */
 #define TSTATE_XCC     _AC(0x000000f000000000,UL) /* Condition Codes.  */
 #define TSTATE_XNEG    _AC(0x0000008000000000,UL) /* %xcc Negative.    */