diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-07-17 00:33:19 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-17 15:18:15 -0400 |
commit | 41120551fa36614bec00d9c26180af990b8e8f47 (patch) | |
tree | a42cefd47b107cb6b378372e65b427bc30620151 /arch | |
parent | 49c13b51a15f1ba9f6d47e26e4a3886c4f3931e2 (diff) |
[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 @@ | |||
10 | #include <asm/hvtramp.h> | 10 | #include <asm/hvtramp.h> |
11 | #include <asm/pstate.h> | 11 | #include <asm/pstate.h> |
12 | #include <asm/ptrace.h> | 12 | #include <asm/ptrace.h> |
13 | #include <asm/head.h> | ||
13 | #include <asm/asi.h> | 14 | #include <asm/asi.h> |
14 | 15 | ||
15 | .text | 16 | .text |
@@ -28,7 +29,7 @@ | |||
28 | * First setup basic privileged cpu state. | 29 | * First setup basic privileged cpu state. |
29 | */ | 30 | */ |
30 | hv_cpu_startup: | 31 | hv_cpu_startup: |
31 | wrpr %g0, 0, %gl | 32 | SET_GL(0) |
32 | wrpr %g0, 15, %pil | 33 | wrpr %g0, 15, %pil |
33 | wrpr %g0, 0, %canrestore | 34 | wrpr %g0, 0, %canrestore |
34 | wrpr %g0, 0, %otherwin | 35 | wrpr %g0, 0, %otherwin |