mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
9caebec7b8
Avoid the costly notifier list in the pagefault path and call the kprobes code directly. The same change went into the 2.6.22 cycle for powerpc, 2s390 and sparc64 already. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
27 lines
548 B
C
27 lines
548 B
C
#ifndef __ASM_AVR32_KDEBUG_H
|
|
#define __ASM_AVR32_KDEBUG_H
|
|
|
|
#include <linux/notifier.h>
|
|
|
|
/* Grossly misnamed. */
|
|
enum die_val {
|
|
DIE_BREAKPOINT,
|
|
DIE_SSTEP,
|
|
};
|
|
|
|
/*
|
|
* 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;
|
|
}
|
|
|
|
#endif /* __ASM_AVR32_KDEBUG_H */
|