]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[SPARC64]: Add define for "GL" field of sun4v %tstate register.
authorDavid S. Miller <davem@sunset.davemloft.net>
Sun, 5 Feb 2006 07:59:38 +0000 (23:59 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:11:46 +0000 (01:11 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
include/asm-sparc64/pstate.h

index 29fb74aa805d48d4474f9a6e34a264f160cc3eb3..1181d73315a61f607c652b13034a77d357c4c2c3 100644 (file)
 /* The V9 TSTATE Register (with SpitFire and Linux extensions).
  *
  * ---------------------------------------------------------------
- * |  Resv  |  CCR  |  ASI  |  %pil  |  PSTATE  |  Resv  |  CWP  |
+ * |  Resv |  GL  |  CCR  |  ASI  |  %pil  |  PSTATE  |  Resv  |  CWP  |
  * ---------------------------------------------------------------
- *  63    40 39   32 31   24 23    20 19       8 7      5 4     0
+ *  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.    */