diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-07-17 08:33:19 +0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-17 23:18:15 +0400 |
commit | 41120551fa36614bec00d9c26180af990b8e8f47 (patch) | |
tree | a42cefd47b107cb6b378372e65b427bc30620151 /arch | |
parent | 49c13b51a15f1ba9f6d47e26e4a3886c4f3931e2 (diff) | |
download | linux-41120551fa36614bec00d9c26180af990b8e8f47.tar.xz |
[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')
-rw-r--r-- | arch/sparc64/kernel/hvtramp.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/hvtramp.S b/arch/sparc64/kernel/hvtramp.S index 76a090e2c2a8..a55c252e18cc 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 |