From 5b1251efbf7475ba86d6a8a44981ee3ac0cf8343 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Thu, 16 Feb 2006 16:22:26 -0800 Subject: [PATCH] --- yaml --- r: 21476 b: refs/heads/master c: 4ff7ac417d4b628c23df3ae8301d17e29e6e8f16 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-sparc64/head.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 749c9addb24c..1fcce685f7b4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 22780e23c629303474797d17e7f09ad7721ef55b +refs/heads/master: 4ff7ac417d4b628c23df3ae8301d17e29e6e8f16 diff --git a/trunk/include/asm-sparc64/head.h b/trunk/include/asm-sparc64/head.h index c4ac3e87aa50..67960a751f4d 100644 --- a/trunk/include/asm-sparc64/head.h +++ b/trunk/include/asm-sparc64/head.h @@ -8,6 +8,10 @@ #define SET_GL(val) \ .word 0xa1902000 | val + /* rdpr %gl, %gN */ +#define GET_GL_GLOBAL(N) \ + .word 0x81540000 | (N << 25) + #define KERNBASE 0x400000 #define PTREGS_OFF (STACK_BIAS + STACKFRAME_SZ)