git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf, x86: Fix __initconst vs const
[pandora-kernel.git]
/
arch
/
x86
/
kernel
/
cpu
/
perf_event_p6.c
diff --git
a/arch/x86/kernel/cpu/perf_event_p6.c
b/arch/x86/kernel/cpu/perf_event_p6.c
index
9123e8e
..
34ba07b
100644
(file)
--- 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,