summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/perf_event_amd_ibs.c
diff options
context:
space:
mode:
authorIngo Molnar2012-04-25 12:55:22 +0200
committerIngo Molnar2012-04-25 12:56:26 +0200
commitfab06992de6433af097c4a1d2d1b119812753ca7 (patch)
tree7c40294c9550b728e8655c3df1f0e02b7df8f4c2 /arch/x86/kernel/cpu/perf_event_amd_ibs.c
parentperf/x86: Implement 64-bit counter support for IBS (diff)
downloadkernel-qcow2-linux-fab06992de6433af097c4a1d2d1b119812753ca7.tar.gz
kernel-qcow2-linux-fab06992de6433af097c4a1d2d1b119812753ca7.tar.xz
kernel-qcow2-linux-fab06992de6433af097c4a1d2d1b119812753ca7.zip
perf/x86: Clean up register_nmi_handler() usage
A function name represents the pointer to it - no need to take the address of it. (Fixing this helps us introduce some macro magic around register_nmi_handler() in the future.) Cc: Robert Richter <robert.richter@amd.com> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/cpu/perf_event_amd_ibs.c')
-rw-r--r--arch/x86/kernel/cpu/perf_event_amd_ibs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/perf_event_amd_ibs.c b/arch/x86/kernel/cpu/perf_event_amd_ibs.c
index 573d24873459..8ff74d439041 100644
--- a/arch/x86/kernel/cpu/perf_event_amd_ibs.c
+++ b/arch/x86/kernel/cpu/perf_event_amd_ibs.c
@@ -469,7 +469,7 @@ static __init int perf_event_ibs_init(void)
perf_ibs_pmu_init(&perf_ibs_fetch, "ibs_fetch");
perf_ibs_pmu_init(&perf_ibs_op, "ibs_op");
- register_nmi_handler(NMI_LOCAL, &perf_ibs_nmi_handler, 0, "perf_ibs");
+ register_nmi_handler(NMI_LOCAL, perf_ibs_nmi_handler, 0, "perf_ibs");
printk(KERN_INFO "perf: AMD IBS detected (0x%08x)\n", ibs_caps);
return 0;