]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/kernel/cpu/perf_event.c
Merge branch 'perf/kprobes' into perf/core
[karo-tx-linux.git] / arch / x86 / kernel / cpu / perf_event.c
index 89f3b7c1af2060556eb0aac096f09f2ecebeddf4..32029e35f2b926cd01c897c617a31473f17cd31e 100644 (file)
@@ -1293,7 +1293,7 @@ void perf_events_lapic_init(void)
        apic_write(APIC_LVTPC, APIC_DM_NMI);
 }
 
-static int __kprobes
+static int
 perf_event_nmi_handler(unsigned int cmd, struct pt_regs *regs)
 {
        u64 start_clock;
@@ -1311,6 +1311,7 @@ perf_event_nmi_handler(unsigned int cmd, struct pt_regs *regs)
 
        return ret;
 }
+NOKPROBE_SYMBOL(perf_event_nmi_handler);
 
 struct event_constraint emptyconstraint;
 struct event_constraint unconstrained;