summaryrefslogtreecommitdiffstats
path: root/arch/sparc64
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-07-16 21:33:19 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-17 12:18:15 -0700
commit41120551fa36614bec00d9c26180af990b8e8f47 (patch)
treea42cefd47b107cb6b378372e65b427bc30620151 /arch/sparc64
parent49c13b51a15f1ba9f6d47e26e4a3886c4f3931e2 (diff)
downloadop-kernel-dev-41120551fa36614bec00d9c26180af990b8e8f47.zip
op-kernel-dev-41120551fa36614bec00d9c26180af990b8e8f47.tar.gz
[SPARC64]: Kill explicit %gl register reference.
Older binutils can't handle it. Use SET_GL() instead, which is explicitly for this purpose. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64')
-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 76a090e..a55c252 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
OpenPOWER on IntegriCloud