mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-16 07:04:36 +01:00
x86(-64) are the last architectures still using the page fault notifier cruft for the kprobes page fault hook. This patch converts them to the proper direct calls, and removes the now unused pagefault notifier bits aswell as the cruft in kprobes.c that was related to this mess. I know Andi didn't really like this, but all other architecture maintainers agreed the direct calls are much better and besides the obvious cruft removal a common way of dealing with kprobes across architectures is important aswell. [[email protected]: build fix] [[email protected]: fix sparc64] Signed-off-by: Christoph Hellwig <[email protected]> Cc: Andi Kleen <[email protected]> Cc: <[email protected]> Cc: Prasanna S Panchamukhi <[email protected]> Cc: Ananth N Mavinakayanahalli <[email protected]> Cc: Anil S Keshavamurthy <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
16 lines
252 B
C
16 lines
252 B
C
#ifndef _ASM_POWERPC_KDEBUG_H
|
|
#define _ASM_POWERPC_KDEBUG_H
|
|
#ifdef __KERNEL__
|
|
|
|
/* Grossly misnamed. */
|
|
enum die_val {
|
|
DIE_OOPS = 1,
|
|
DIE_IABR_MATCH,
|
|
DIE_DABR_MATCH,
|
|
DIE_BPT,
|
|
DIE_SSTEP,
|
|
};
|
|
|
|
#endif /* __KERNEL__ */
|
|
#endif /* _ASM_POWERPC_KDEBUG_H */
|