mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
perf/x86: Fix P6 driver section warning
Fix a compile warning - 'a section type conflict' by removing __initconst. Signed-off-by: yangyongqiang <[email protected]> Cc: Cyrill Gorcunov <[email protected]> Cc: Vince Weaver <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
committed by
Ingo Molnar
parent
55a6e622e6
commit
9faec5be3a
@@ -19,7 +19,7 @@ static const u64 p6_perfmon_event_map[] =
|
||||
|
||||
};
|
||||
|
||||
static __initconst u64 p6_hw_cache_event_ids
|
||||
static u64 p6_hw_cache_event_ids
|
||||
[PERF_COUNT_HW_CACHE_MAX]
|
||||
[PERF_COUNT_HW_CACHE_OP_MAX]
|
||||
[PERF_COUNT_HW_CACHE_RESULT_MAX] =
|
||||
|
||||
Reference in New Issue
Block a user