diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-07 16:29:18 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-07 10:51:15 -0700 |
commit | 9c8e7f5cc965d30006c917ab19221e06fcc5a4f9 (patch) | |
tree | 2ee465eedaec181e1eb8f50acbc0f86c03325a32 /arch/m32r/kernel/irq.c | |
parent | 8774cb815f2492a95b90a927f93a2de555753b32 (diff) | |
download | kernel_samsung_smdk4412-9c8e7f5cc965d30006c917ab19221e06fcc5a4f9.zip kernel_samsung_smdk4412-9c8e7f5cc965d30006c917ab19221e06fcc5a4f9.tar.gz kernel_samsung_smdk4412-9c8e7f5cc965d30006c917ab19221e06fcc5a4f9.tar.bz2 |
[PATCH] m32r pt_regs fixes
... and now with irq_regs.h not forgotten...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m32r/kernel/irq.c')
-rw-r--r-- | arch/m32r/kernel/irq.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/m32r/kernel/irq.c b/arch/m32r/kernel/irq.c index 3841861..f8d8650 100644 --- a/arch/m32r/kernel/irq.c +++ b/arch/m32r/kernel/irq.c @@ -77,13 +77,16 @@ skip: */ asmlinkage unsigned int do_IRQ(int irq, struct pt_regs *regs) { + struct pt_regs *old_regs; + old_regs = set_irq_regs(regs); irq_enter(); #ifdef CONFIG_DEBUG_STACKOVERFLOW /* FIXME M32R */ #endif - __do_IRQ(irq, regs); + __do_IRQ(irq); irq_exit(); + set_irq_regs(old_regs); return 1; } |