aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/kdebug.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-05-17 08:23:04 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-05-17 08:23:04 -0400
commit5cf4cf65a8ccca44ec9b357ebdb2b517269d7e8a (patch)
treebeba3ecc27c64e0c22b1a21201f1999afe9834f2 /include/asm-ia64/kdebug.h
parent55d3ecab2d16be3525ba24a96ba3a67692af1f09 (diff)
parentb2cd64153b94473f6bd82448a68b8e8c041676ea (diff)
Merge branch 'master' of /home/trondmy/repositories/git/linux-2.6/
Diffstat (limited to 'include/asm-ia64/kdebug.h')
-rw-r--r--include/asm-ia64/kdebug.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/include/asm-ia64/kdebug.h b/include/asm-ia64/kdebug.h
index ba211e011a1d..320cd8e754ea 100644
--- a/include/asm-ia64/kdebug.h
+++ b/include/asm-ia64/kdebug.h
@@ -28,14 +28,24 @@
28 */ 28 */
29#include <linux/notifier.h> 29#include <linux/notifier.h>
30 30
31extern int register_page_fault_notifier(struct notifier_block *); 31/*
32extern int unregister_page_fault_notifier(struct notifier_block *); 32 * These are only here because kprobes.c wants them to implement a
33 * blatant layering violation. Will hopefully go away soon once all
34 * architectures are updated.
35 */
36static inline int register_page_fault_notifier(struct notifier_block *nb)
37{
38 return 0;
39}
40static inline int unregister_page_fault_notifier(struct notifier_block *nb)
41{
42 return 0;
43}
33 44
34enum die_val { 45enum die_val {
35 DIE_BREAK = 1, 46 DIE_BREAK = 1,
36 DIE_FAULT, 47 DIE_FAULT,
37 DIE_OOPS, 48 DIE_OOPS,
38 DIE_PAGE_FAULT,
39 DIE_MACHINE_HALT, 49 DIE_MACHINE_HALT,
40 DIE_MACHINE_RESTART, 50 DIE_MACHINE_RESTART,
41 DIE_MCA_MONARCH_ENTER, 51 DIE_MCA_MONARCH_ENTER,