aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/hvtramp.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-07-17 00:33:19 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-17 15:18:15 -0400
commit41120551fa36614bec00d9c26180af990b8e8f47 (patch)
treea42cefd47b107cb6b378372e65b427bc30620151 /arch/sparc64/kernel/hvtramp.S
parent49c13b51a15f1ba9f6d47e26e4a3886c4f3931e2 (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/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 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 */
30hv_cpu_startup: 31hv_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