diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc64/kernel/process.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/process.c b/arch/sparc64/kernel/process.c index 1dc3650c5cae..059b0d025224 100644 --- a/arch/sparc64/kernel/process.c +++ b/arch/sparc64/kernel/process.c | |||
@@ -164,6 +164,7 @@ void machine_restart(char * cmd) | |||
164 | panic("Reboot failed!"); | 164 | panic("Reboot failed!"); |
165 | } | 165 | } |
166 | 166 | ||
167 | #ifdef CONFIG_COMPAT | ||
167 | static void show_regwindow32(struct pt_regs *regs) | 168 | static void show_regwindow32(struct pt_regs *regs) |
168 | { | 169 | { |
169 | struct reg_window32 __user *rw; | 170 | struct reg_window32 __user *rw; |
@@ -189,6 +190,9 @@ static void show_regwindow32(struct pt_regs *regs) | |||
189 | r_w.ins[0], r_w.ins[1], r_w.ins[2], r_w.ins[3], | 190 | r_w.ins[0], r_w.ins[1], r_w.ins[2], r_w.ins[3], |
190 | r_w.ins[4], r_w.ins[5], r_w.ins[6], r_w.ins[7]); | 191 | r_w.ins[4], r_w.ins[5], r_w.ins[6], r_w.ins[7]); |
191 | } | 192 | } |
193 | #else | ||
194 | #define show_regwindow32(regs) do { } while (0) | ||
195 | #endif | ||
192 | 196 | ||
193 | static void show_regwindow(struct pt_regs *regs) | 197 | static void show_regwindow(struct pt_regs *regs) |
194 | { | 198 | { |