X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-powerpc%2Fkdebug.h;h=295f0162c60827a750664b9ece653d134f1a277f;hb=d638d4990bfb99998420e78e8fd4607bca5cf8d0;hp=1c73d2ec9b597cc9a9d4fa61a93ea7d9f9967eb0;hpb=1eeb66a1bb973534dc3d064920a5ca683823372e;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-powerpc/kdebug.h b/include/asm-powerpc/kdebug.h index 1c73d2ec9b5..295f0162c60 100644 --- a/include/asm-powerpc/kdebug.h +++ b/include/asm-powerpc/kdebug.h @@ -6,8 +6,19 @@ #include -extern int register_page_fault_notifier(struct notifier_block *); -extern int unregister_page_fault_notifier(struct notifier_block *); +/* + * These are only here because kprobes.c wants them to implement a + * blatant layering violation. Will hopefully go away soon once all + * architectures are updated. + */ +static inline int register_page_fault_notifier(struct notifier_block *nb) +{ + return 0; +} +static inline int unregister_page_fault_notifier(struct notifier_block *nb) +{ + return 0; +} extern struct atomic_notifier_head powerpc_die_chain; /* Grossly misnamed. */ @@ -17,7 +28,6 @@ enum die_val { DIE_DABR_MATCH, DIE_BPT, DIE_SSTEP, - DIE_PAGE_FAULT, }; #endif /* __KERNEL__ */