summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/hvtramp.S
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 15:19:27 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 15:19:27 -0700
commite779220ec3d70843cef5e9f410d7a0c287f46718 (patch)
tree3caa1e9bf74f5eae372ea7c636903ab09d80d9d3 /arch/sparc64/kernel/hvtramp.S
parentb8c638acacfe32c0bde361916467af00691f1965 (diff)
parent62715ec832c7229b677415901e98799124efb023 (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
* 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: [SPARC64]: Kill bogus set_fs(KERNEL_DS) in do_rt_sigreturn(). [SPARC64]: Update defconfig. [SPARC64]: Kill explicit %gl register reference.
Diffstat (limited to 'arch/sparc64/kernel/hvtramp.S')
-rw-r--r--arch/sparc64/kernel/hvtramp.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/hvtramp.S b/arch/sparc64/kernel/hvtramp.S
index 76a090e2c2a..a55c252e18c 100644
--- a/arch/sparc64/kernel/hvtramp.S
+++ b/arch/sparc64/kernel/hvtramp.S
@@ -10,6 +10,7 @@
#include <asm/hvtramp.h>
#include <asm/pstate.h>
#include <asm/ptrace.h>
+#include <asm/head.h>
#include <asm/asi.h>
.text
@@ -28,7 +29,7 @@
* First setup basic privileged cpu state.
*/
hv_cpu_startup:
- wrpr %g0, 0, %gl
+ SET_GL(0)
wrpr %g0, 15, %pil
wrpr %g0, 0, %canrestore
wrpr %g0, 0, %otherwin