diff options
Diffstat (limited to 'include/asm-ia64/kprobes.h')
| -rw-r--r-- | include/asm-ia64/kprobes.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/asm-ia64/kprobes.h b/include/asm-ia64/kprobes.h index 25d8b1edfcba..bf36a32e37e4 100644 --- a/include/asm-ia64/kprobes.h +++ b/include/asm-ia64/kprobes.h | |||
| @@ -64,6 +64,8 @@ typedef struct _bundle { | |||
| 64 | 64 | ||
| 65 | #define JPROBE_ENTRY(pentry) (kprobe_opcode_t *)pentry | 65 | #define JPROBE_ENTRY(pentry) (kprobe_opcode_t *)pentry |
| 66 | 66 | ||
| 67 | #define ARCH_SUPPORTS_KRETPROBES | ||
| 68 | |||
| 67 | #define SLOT0_OPCODE_SHIFT (37) | 69 | #define SLOT0_OPCODE_SHIFT (37) |
| 68 | #define SLOT1_p1_OPCODE_SHIFT (37 - (64-46)) | 70 | #define SLOT1_p1_OPCODE_SHIFT (37 - (64-46)) |
| 69 | #define SLOT2_OPCODE_SHIFT (37) | 71 | #define SLOT2_OPCODE_SHIFT (37) |
| @@ -95,11 +97,6 @@ struct arch_specific_insn { | |||
| 95 | }; | 97 | }; |
| 96 | 98 | ||
| 97 | /* ia64 does not need this */ | 99 | /* ia64 does not need this */ |
| 98 | static inline void jprobe_return(void) | ||
| 99 | { | ||
| 100 | } | ||
| 101 | |||
| 102 | /* ia64 does not need this */ | ||
| 103 | static inline void arch_copy_kprobe(struct kprobe *p) | 100 | static inline void arch_copy_kprobe(struct kprobe *p) |
| 104 | { | 101 | { |
| 105 | } | 102 | } |
| @@ -107,6 +104,12 @@ static inline void arch_copy_kprobe(struct kprobe *p) | |||
| 107 | #ifdef CONFIG_KPROBES | 104 | #ifdef CONFIG_KPROBES |
| 108 | extern int kprobe_exceptions_notify(struct notifier_block *self, | 105 | extern int kprobe_exceptions_notify(struct notifier_block *self, |
| 109 | unsigned long val, void *data); | 106 | unsigned long val, void *data); |
| 107 | |||
| 108 | /* ia64 does not need this */ | ||
| 109 | static inline void jprobe_return(void) | ||
| 110 | { | ||
| 111 | } | ||
| 112 | |||
| 110 | #else /* !CONFIG_KPROBES */ | 113 | #else /* !CONFIG_KPROBES */ |
| 111 | static inline int kprobe_exceptions_notify(struct notifier_block *self, | 114 | static inline int kprobe_exceptions_notify(struct notifier_block *self, |
| 112 | unsigned long val, void *data) | 115 | unsigned long val, void *data) |
