diff options
author | Chris Zankel <chris@zankel.net> | 2008-02-12 11:55:32 -0800 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2008-02-13 17:09:08 -0800 |
commit | 8d7e8240e66cecc84a375aceb26942d02b291198 (patch) | |
tree | 97074169ed7a281ccf5207a653781f57ddb2bffc /arch/xtensa/kernel/traps.c | |
parent | 0b2c3afdaaaa3e577300b2235df43eb8af00020b (diff) | |
download | op-kernel-dev-8d7e8240e66cecc84a375aceb26942d02b291198.zip op-kernel-dev-8d7e8240e66cecc84a375aceb26942d02b291198.tar.gz |
[XTENSA] Clean up elf-gregset.
Remove additional registers from the ELF gregset structure that
are only used by the kernel or are not required or invalid in
user-space. The ar registers are always aligned to a windowbase
value of 0, and the WB register is always assumed to be 0.
Increase the size of the structure to 128 entries. This will
provide enough space in future.
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/kernel/traps.c')
-rw-r--r-- | arch/xtensa/kernel/traps.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/xtensa/kernel/traps.c b/arch/xtensa/kernel/traps.c index 397bcd6..6f722f9 100644 --- a/arch/xtensa/kernel/traps.c +++ b/arch/xtensa/kernel/traps.c @@ -349,9 +349,7 @@ void show_regs(struct pt_regs * regs) wmask = regs->wmask & ~1; - for (i = 0; i < 32; i++) { - if (wmask & (1 << (i / 4))) - break; + for (i = 0; i < 16; i++) { if ((i % 8) == 0) printk ("\n" KERN_INFO "a%02d: ", i); printk("%08lx ", regs->areg[i]); |