diff options
Diffstat (limited to 'arch/sparc64/kernel/hvtramp.S')
-rw-r--r-- | arch/sparc64/kernel/hvtramp.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/hvtramp.S b/arch/sparc64/kernel/hvtramp.S index 0236c43772f..9365432904d 100644 --- a/arch/sparc64/kernel/hvtramp.S +++ b/arch/sparc64/kernel/hvtramp.S | |||
@@ -1,6 +1,6 @@ | |||
1 | /* hvtramp.S: Hypervisor start-cpu trampoline code. | 1 | /* hvtramp.S: Hypervisor start-cpu trampoline code. |
2 | * | 2 | * |
3 | * Copyright (C) 2007 David S. Miller <davem@davemloft.net> | 3 | * Copyright (C) 2007, 2008 David S. Miller <davem@davemloft.net> |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include <linux/init.h> | 6 | #include <linux/init.h> |
@@ -14,6 +14,7 @@ | |||
14 | #include <asm/ptrace.h> | 14 | #include <asm/ptrace.h> |
15 | #include <asm/head.h> | 15 | #include <asm/head.h> |
16 | #include <asm/asi.h> | 16 | #include <asm/asi.h> |
17 | #include <asm/pil.h> | ||
17 | 18 | ||
18 | __CPUINIT | 19 | __CPUINIT |
19 | .align 8 | 20 | .align 8 |
@@ -32,7 +33,7 @@ | |||
32 | */ | 33 | */ |
33 | hv_cpu_startup: | 34 | hv_cpu_startup: |
34 | SET_GL(0) | 35 | SET_GL(0) |
35 | wrpr %g0, 15, %pil | 36 | wrpr %g0, PIL_NORMAL_MAX, %pil |
36 | wrpr %g0, 0, %canrestore | 37 | wrpr %g0, 0, %canrestore |
37 | wrpr %g0, 0, %otherwin | 38 | wrpr %g0, 0, %otherwin |
38 | wrpr %g0, 6, %cansave | 39 | wrpr %g0, 6, %cansave |