summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/perf_event_p6.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-03-29 13:09:53 +0200
committerIngo Molnar <mingo@elte.hu>2010-04-02 19:52:05 +0200
commitcaaa8be3b6707cb9664e573a28b00f845ce9f32e (patch)
treec6cc712c547262e74cc56168248c8da121736ecd /arch/x86/kernel/cpu/perf_event_p6.c
parentb4cdc5c264b35c67007800dec3928e9547a9d70b (diff)
downloadblackbird-obmc-linux-caaa8be3b6707cb9664e573a28b00f845ce9f32e.tar.gz
blackbird-obmc-linux-caaa8be3b6707cb9664e573a28b00f845ce9f32e.zip
perf, x86: Fix __initconst vs const
All variables that have __initconst should also be const. Suggested-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/perf_event_p6.c')
-rw-r--r--arch/x86/kernel/cpu/perf_event_p6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/perf_event_p6.c b/arch/x86/kernel/cpu/perf_event_p6.c
index 9123e8ec9958..34ba07be2cda 100644
--- a/arch/x86/kernel/cpu/perf_event_p6.c
+++ b/arch/x86/kernel/cpu/perf_event_p6.c
@@ -84,7 +84,7 @@ static void p6_pmu_enable_event(struct perf_event *event)
(void)checking_wrmsrl(hwc->config_base + hwc->idx, val);
}
-static __initconst struct x86_pmu p6_pmu = {
+static __initconst const struct x86_pmu p6_pmu = {
.name = "p6",
.handle_irq = x86_pmu_handle_irq,
.disable_all = p6_pmu_disable_all,
OpenPOWER on IntegriCloud