perf/x86: Fix P6 driver section warning
authoryangyongqiang <[email protected]>
Tue, 18 Dec 2012 20:22:25 +0000 (12:22 -0800)
committerIngo Molnar <[email protected]>
Thu, 24 Jan 2013 15:04:56 +0000 (16:04 +0100)
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]>
arch/x86/kernel/cpu/perf_event_p6.c

index f2af39f5dc3d96916f8665350445a3e8155f290b..4820c232a0b91421d1ee77b194a8881a13143753 100644 (file)
@@ -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] =