aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/head.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc64/head.h')
-rw-r--r--include/asm-sparc64/head.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-sparc64/head.h b/include/asm-sparc64/head.h
index c4ac3e87aa50..67960a751f4d 100644
--- a/include/asm-sparc64/head.h
+++ b/include/asm-sparc64/head.h
@@ -8,6 +8,10 @@
8#define SET_GL(val) \ 8#define SET_GL(val) \
9 .word 0xa1902000 | val 9 .word 0xa1902000 | val
10 10
11 /* rdpr %gl, %gN */
12#define GET_GL_GLOBAL(N) \
13 .word 0x81540000 | (N << 25)
14
11#define KERNBASE 0x400000 15#define KERNBASE 0x400000
12 16
13#define PTREGS_OFF (STACK_BIAS + STACKFRAME_SZ) 17#define PTREGS_OFF (STACK_BIAS + STACKFRAME_SZ)