summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/kdebug.h
diff options
context:
space:
mode:
authorJan Beulich2005-09-12 18:49:24 +0200
committerLinus Torvalds2005-09-12 19:50:57 +0200
commit1209140c3c70aaa32d1a0462d79557f2a44a4ef8 (patch)
tree2dc299ad357392f7d81e85131615bb61f0b1a14c /include/asm-x86_64/kdebug.h
parent[PATCH] x86-64: Merge msr.c with i386 version (diff)
downloadkernel-qcow2-linux-1209140c3c70aaa32d1a0462d79557f2a44a4ef8.tar.gz
kernel-qcow2-linux-1209140c3c70aaa32d1a0462d79557f2a44a4ef8.tar.xz
kernel-qcow2-linux-1209140c3c70aaa32d1a0462d79557f2a44a4ef8.zip
[PATCH] x86-64: Safe interrupts in oops_begin/end
Rather than blindly re-enabling interrupts in oops_end(), save their state in oope_begin() and then restore that state. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/kdebug.h')
-rw-r--r--include/asm-x86_64/kdebug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86_64/kdebug.h b/include/asm-x86_64/kdebug.h
index b90341994d80..f604e84c5303 100644
--- a/include/asm-x86_64/kdebug.h
+++ b/include/asm-x86_64/kdebug.h
@@ -46,7 +46,7 @@ extern void die(const char *,struct pt_regs *,long);
extern void __die(const char *,struct pt_regs *,long);
extern void show_registers(struct pt_regs *regs);
extern void dump_pagetable(unsigned long);
-extern void oops_begin(void);
-extern void oops_end(void);
+extern unsigned long oops_begin(void);
+extern void oops_end(unsigned long);
#endif