projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c126cf8
)
[SPARC64]: Fix build with CONFIG_COMPAT disabled.
author
David S. Miller
<
[email protected]
>
Wed, 18 Jan 2006 22:58:05 +0000
(14:58 -0800)
committer
David S. Miller
<
[email protected]
>
Wed, 18 Jan 2006 22:58:05 +0000
(14:58 -0800)
Based upon a report and preliminary patch from Jim Gifford.
Signed-off-by: David S. Miller <
[email protected]
>
arch/sparc64/kernel/process.c
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/process.c
b/arch/sparc64/kernel/process.c
index 1dc3650c5caefaee73a69e9b68b1cf9705f6af03..059b0d0252245800bf415110644a659a9f6c5a8e 100644
(file)
--- a/
arch/sparc64/kernel/process.c
+++ b/
arch/sparc64/kernel/process.c
@@
-164,6
+164,7
@@
void machine_restart(char * cmd)
panic("Reboot failed!");
}
+#ifdef CONFIG_COMPAT
static void show_regwindow32(struct pt_regs *regs)
{
struct reg_window32 __user *rw;
@@
-189,6
+190,9
@@
static void show_regwindow32(struct pt_regs *regs)
r_w.ins[0], r_w.ins[1], r_w.ins[2], r_w.ins[3],
r_w.ins[4], r_w.ins[5], r_w.ins[6], r_w.ins[7]);
}
+#else
+#define show_regwindow32(regs) do { } while (0)
+#endif
static void show_regwindow(struct pt_regs *regs)
{