|
@@ -17,7 +17,7 @@ static const u64 knc_perfmon_event_map[] =
|
|
|
[PERF_COUNT_HW_BRANCH_MISSES] = 0x002b,
|
|
|
};
|
|
|
|
|
|
-static __initconst u64 knc_hw_cache_event_ids
|
|
|
+static const u64 __initconst knc_hw_cache_event_ids
|
|
|
[PERF_COUNT_HW_CACHE_MAX]
|
|
|
[PERF_COUNT_HW_CACHE_OP_MAX]
|
|
|
[PERF_COUNT_HW_CACHE_RESULT_MAX] =
|
|
@@ -284,7 +284,7 @@ static struct attribute *intel_knc_formats_attr[] = {
|
|
|
NULL,
|
|
|
};
|
|
|
|
|
|
-static __initconst struct x86_pmu knc_pmu = {
|
|
|
+static const struct x86_pmu knc_pmu __initconst = {
|
|
|
.name = "knc",
|
|
|
.handle_irq = knc_pmu_handle_irq,
|
|
|
.disable_all = knc_pmu_disable_all,
|