- patches.apparmor/remove_suid_new_case_in_2.6.22.diff: Merge fix.
[linux-flexiantxendom0-3.2.10.git] / include / asm-x86_64 / kdebug.h
1 #ifndef _X86_64_KDEBUG_H
2 #define _X86_64_KDEBUG_H 1
3
4 #include <linux/notifier.h>
5
6 struct pt_regs;
7
8 extern int register_page_fault_notifier(struct notifier_block *);
9 extern int unregister_page_fault_notifier(struct notifier_block *);
10
11 /* Grossly misnamed. */
12 enum die_val {
13         DIE_OOPS = 1,
14         DIE_INT3,
15         DIE_DEBUG,
16         DIE_PANIC,
17         DIE_NMI,
18         DIE_DIE,
19         DIE_NMIWATCHDOG,
20         DIE_KERNELDEBUG,
21         DIE_TRAP,
22         DIE_GPF,
23         DIE_CALL,
24         DIE_NMI_IPI,
25         DIE_PAGE_FAULT,
26         DIE_KDEBUG_ENTER,
27         DIE_KDEBUG_LEAVE,
28 };
29
30 extern void printk_address(unsigned long address);
31 extern void die(const char *,struct pt_regs *,long);
32 extern void __die(const char *,struct pt_regs *,long);
33 extern void show_registers(struct pt_regs *regs);
34 extern void dump_pagetable(unsigned long);
35 extern unsigned long oops_begin(void);
36 extern void oops_end(unsigned long);
37
38 #endif