diff options
Diffstat (limited to 'arch/x86/kernel/cpu/perf_event.c')
-rw-r--r-- | arch/x86/kernel/cpu/perf_event.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c index ae407f7226c8..5fc8771979ba 100644 --- a/arch/x86/kernel/cpu/perf_event.c +++ b/arch/x86/kernel/cpu/perf_event.c | |||
@@ -1292,7 +1292,7 @@ void perf_events_lapic_init(void) | |||
1292 | apic_write(APIC_LVTPC, APIC_DM_NMI); | 1292 | apic_write(APIC_LVTPC, APIC_DM_NMI); |
1293 | } | 1293 | } |
1294 | 1294 | ||
1295 | static int __kprobes | 1295 | static int |
1296 | perf_event_nmi_handler(unsigned int cmd, struct pt_regs *regs) | 1296 | perf_event_nmi_handler(unsigned int cmd, struct pt_regs *regs) |
1297 | { | 1297 | { |
1298 | u64 start_clock; | 1298 | u64 start_clock; |
@@ -1310,6 +1310,7 @@ perf_event_nmi_handler(unsigned int cmd, struct pt_regs *regs) | |||
1310 | 1310 | ||
1311 | return ret; | 1311 | return ret; |
1312 | } | 1312 | } |
1313 | NOKPROBE_SYMBOL(perf_event_nmi_handler); | ||
1313 | 1314 | ||
1314 | struct event_constraint emptyconstraint; | 1315 | struct event_constraint emptyconstraint; |
1315 | struct event_constraint unconstrained; | 1316 | struct event_constraint unconstrained; |