diff options
Diffstat (limited to 'include/asm-s390')
-rw-r--r-- | include/asm-s390/kdebug.h | 15 | ||||
-rw-r--r-- | include/asm-s390/kprobes.h | 1 |
2 files changed, 0 insertions, 16 deletions
diff --git a/include/asm-s390/kdebug.h b/include/asm-s390/kdebug.h index 04418af08f85..40db27cd6e60 100644 --- a/include/asm-s390/kdebug.h +++ b/include/asm-s390/kdebug.h | |||
@@ -4,24 +4,9 @@ | |||
4 | /* | 4 | /* |
5 | * Feb 2006 Ported to s390 <grundym@us.ibm.com> | 5 | * Feb 2006 Ported to s390 <grundym@us.ibm.com> |
6 | */ | 6 | */ |
7 | #include <linux/notifier.h> | ||
8 | 7 | ||
9 | struct pt_regs; | 8 | struct pt_regs; |
10 | 9 | ||
11 | /* | ||
12 | * These are only here because kprobes.c wants them to implement a | ||
13 | * blatant layering violation. Will hopefully go away soon once all | ||
14 | * architectures are updated. | ||
15 | */ | ||
16 | static inline int register_page_fault_notifier(struct notifier_block *nb) | ||
17 | { | ||
18 | return 0; | ||
19 | } | ||
20 | static inline int unregister_page_fault_notifier(struct notifier_block *nb) | ||
21 | { | ||
22 | return 0; | ||
23 | } | ||
24 | |||
25 | enum die_val { | 10 | enum die_val { |
26 | DIE_OOPS = 1, | 11 | DIE_OOPS = 1, |
27 | DIE_BPT, | 12 | DIE_BPT, |
diff --git a/include/asm-s390/kprobes.h b/include/asm-s390/kprobes.h index 340ba10446ea..8bc67cc9ffd2 100644 --- a/include/asm-s390/kprobes.h +++ b/include/asm-s390/kprobes.h | |||
@@ -47,7 +47,6 @@ typedef u16 kprobe_opcode_t; | |||
47 | : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) | 47 | : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) |
48 | 48 | ||
49 | #define ARCH_SUPPORTS_KRETPROBES | 49 | #define ARCH_SUPPORTS_KRETPROBES |
50 | #define ARCH_INACTIVE_KPROBE_COUNT 0 | ||
51 | 50 | ||
52 | #define KPROBE_SWAP_INST 0x10 | 51 | #define KPROBE_SWAP_INST 0x10 |
53 | 52 | ||