diff options
Diffstat (limited to 'include/asm-sparc64/head.h')
-rw-r--r-- | include/asm-sparc64/head.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-sparc64/head.h b/include/asm-sparc64/head.h index 731c842f3d11..ff76c0981b63 100644 --- a/include/asm-sparc64/head.h +++ b/include/asm-sparc64/head.h | |||
@@ -4,6 +4,10 @@ | |||
4 | 4 | ||
5 | #include <asm/pstate.h> | 5 | #include <asm/pstate.h> |
6 | 6 | ||
7 | /* wrpr %g0, val, %gl */ | ||
8 | #define SET_GL(val) \ | ||
9 | .word 0xa1902000 | val | ||
10 | |||
7 | #define KERNBASE 0x400000 | 11 | #define KERNBASE 0x400000 |
8 | 12 | ||
9 | #define PTREGS_OFF (STACK_BIAS + STACKFRAME_SZ) | 13 | #define PTREGS_OFF (STACK_BIAS + STACKFRAME_SZ) |