diff options
Diffstat (limited to 'include/linux/jump_label.h')
-rw-r--r-- | include/linux/jump_label.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/jump_label.h b/include/linux/jump_label.h index de58656d28e0..b72cd9f92c2e 100644 --- a/include/linux/jump_label.h +++ b/include/linux/jump_label.h | |||
@@ -20,9 +20,10 @@ extern struct jump_entry __stop___jump_table[]; | |||
20 | 20 | ||
21 | extern void arch_jump_label_transform(struct jump_entry *entry, | 21 | extern void arch_jump_label_transform(struct jump_entry *entry, |
22 | enum jump_label_type type); | 22 | enum jump_label_type type); |
23 | extern void arch_jump_label_text_poke_early(jump_label_t addr); | ||
23 | extern void jump_label_update(unsigned long key, enum jump_label_type type); | 24 | extern void jump_label_update(unsigned long key, enum jump_label_type type); |
24 | extern void jump_label_apply_nops(struct module *mod); | 25 | extern void jump_label_apply_nops(struct module *mod); |
25 | extern void arch_jump_label_text_poke_early(jump_label_t addr); | 26 | extern int jump_label_text_reserved(void *start, void *end); |
26 | 27 | ||
27 | #define enable_jump_label(key) \ | 28 | #define enable_jump_label(key) \ |
28 | jump_label_update((unsigned long)key, JUMP_LABEL_ENABLE); | 29 | jump_label_update((unsigned long)key, JUMP_LABEL_ENABLE); |
@@ -53,6 +54,11 @@ static inline int jump_label_apply_nops(struct module *mod) | |||
53 | return 0; | 54 | return 0; |
54 | } | 55 | } |
55 | 56 | ||
57 | static inline int jump_label_text_reserved(void *start, void *end) | ||
58 | { | ||
59 | return 0; | ||
60 | } | ||
61 | |||
56 | #endif | 62 | #endif |
57 | 63 | ||
58 | #endif | 64 | #endif |