perf/x86: Fix wrmsrl() debug wrapper
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 14 May 2012 13:25:34 +0000 (15:25 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 Jun 2012 15:23:22 +0000 (17:23 +0200)
commit1c2ac3fde3e35279958e7b0408e2dcf866465301
tree78e2d44380153762bb0fc3e8614f5a7f9514d71e
parentff1f74fdcf1881b6c008463c34e9e2a93abe117a
perf/x86: Fix wrmsrl() debug wrapper

Move the wrmslr() debug wrapper to the common header now that all the
include games are gone. Also clean it up a bit to avoid multiple
evaluation of the argument.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-l4gkfnivwv4yi5mqxjlovymx@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event.c
arch/x86/kernel/cpu/perf_event.h