diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2009-01-02 22:32:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-02 22:32:59 -0500 |
commit | 4d7b92ad572b4bd4d92fc80911641bb6cba3b99c (patch) | |
tree | 6257d1b4bad63a296f03abee8940222a979d8d2a /arch/sparc/kernel/traps_32.c | |
parent | ece93487c31607558f4b91f378fcee4b43956dbc (diff) |
sparc: add '32' suffix to reg_window, sigcontext, __siginfo_t
Renaming a few types to contain a 32 suffix makes the
type names compatible with sparc64 and thus makes sharing
between the two a lot easier.
Note: None of these definitions are expected part of the
stable ABI towards userspace.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/traps_32.c')
-rw-r--r-- | arch/sparc/kernel/traps_32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/traps_32.c b/arch/sparc/kernel/traps_32.c index 716f3946c494..213645be6e92 100644 --- a/arch/sparc/kernel/traps_32.c +++ b/arch/sparc/kernel/traps_32.c | |||
@@ -67,7 +67,7 @@ void die_if_kernel(char *str, struct pt_regs *regs) | |||
67 | __RESTORE; __RESTORE; __RESTORE; __RESTORE; | 67 | __RESTORE; __RESTORE; __RESTORE; __RESTORE; |
68 | 68 | ||
69 | { | 69 | { |
70 | struct reg_window *rw = (struct reg_window *)regs->u_regs[UREG_FP]; | 70 | struct reg_window32 *rw = (struct reg_window32 *)regs->u_regs[UREG_FP]; |
71 | 71 | ||
72 | /* Stop the back trace when we hit userland or we | 72 | /* Stop the back trace when we hit userland or we |
73 | * find some badly aligned kernel stack. Set an upper | 73 | * find some badly aligned kernel stack. Set an upper |
@@ -79,7 +79,7 @@ void die_if_kernel(char *str, struct pt_regs *regs) | |||
79 | !(((unsigned long) rw) & 0x7)) { | 79 | !(((unsigned long) rw) & 0x7)) { |
80 | printk("Caller[%08lx]: %pS\n", rw->ins[7], | 80 | printk("Caller[%08lx]: %pS\n", rw->ins[7], |
81 | (void *) rw->ins[7]); | 81 | (void *) rw->ins[7]); |
82 | rw = (struct reg_window *)rw->ins[6]; | 82 | rw = (struct reg_window32 *)rw->ins[6]; |
83 | } | 83 | } |
84 | } | 84 | } |
85 | printk("Instruction DUMP:"); | 85 | printk("Instruction DUMP:"); |