diff options
| -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 |
