diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-10 05:43:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-10 05:43:00 -0400 |
commit | bac0c9103b31c3dd83ad9d731dd9834e2ba75e4f (patch) | |
tree | 702dd6a7ce06d224d594c2293af546b11ac9f51b /include/asm-x86/kdebug.h | |
parent | 6329d3021bcfa9038621e6e917d98929421d8ec8 (diff) | |
parent | 98a05ed4bd7774f533ab185fe0bf2fdc58292d7c (diff) |
Merge branch 'tracing/ftrace' into auto-ftrace-next
Diffstat (limited to 'include/asm-x86/kdebug.h')
-rw-r--r-- | include/asm-x86/kdebug.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-x86/kdebug.h b/include/asm-x86/kdebug.h index 96651bb59ba1..a80f2d6cc737 100644 --- a/include/asm-x86/kdebug.h +++ b/include/asm-x86/kdebug.h | |||
@@ -35,4 +35,13 @@ extern void show_regs(struct pt_regs *regs); | |||
35 | extern unsigned long oops_begin(void); | 35 | extern unsigned long oops_begin(void); |
36 | extern void oops_end(unsigned long, struct pt_regs *, int signr); | 36 | extern void oops_end(unsigned long, struct pt_regs *, int signr); |
37 | 37 | ||
38 | struct pf_handler { | ||
39 | struct hlist_node hlist; | ||
40 | int (*handler)(struct pt_regs *regs, unsigned long error_code, | ||
41 | unsigned long address); | ||
42 | }; | ||
43 | |||
44 | extern void register_page_fault_handler(struct pf_handler *new_pfh); | ||
45 | extern void unregister_page_fault_handler(struct pf_handler *old_pfh); | ||
46 | |||
38 | #endif | 47 | #endif |