diff options
| -rw-r--r-- | arch/x86/kernel/kprobes/core.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/kernel/kprobes/core.c b/arch/x86/kernel/kprobes/core.c index 4ba75afba527..a034cb808e7e 100644 --- a/arch/x86/kernel/kprobes/core.c +++ b/arch/x86/kernel/kprobes/core.c | |||
| @@ -1028,6 +1028,13 @@ NOKPROBE_SYMBOL(kprobe_fault_handler); | |||
| 1028 | 1028 | ||
| 1029 | int __init arch_populate_kprobe_blacklist(void) | 1029 | int __init arch_populate_kprobe_blacklist(void) |
| 1030 | { | 1030 | { |
| 1031 | int ret; | ||
| 1032 | |||
| 1033 | ret = kprobe_add_area_blacklist((unsigned long)__irqentry_text_start, | ||
| 1034 | (unsigned long)__irqentry_text_end); | ||
| 1035 | if (ret) | ||
| 1036 | return ret; | ||
| 1037 | |||
| 1031 | return kprobe_add_area_blacklist((unsigned long)__entry_text_start, | 1038 | return kprobe_add_area_blacklist((unsigned long)__entry_text_start, |
| 1032 | (unsigned long)__entry_text_end); | 1039 | (unsigned long)__entry_text_end); |
| 1033 | } | 1040 | } |
