From: yangyongqiang Date: Tue, 18 Dec 2012 20:22:25 +0000 (-0800) Subject: perf/x86: Fix P6 driver section warning X-Git-Tag: upstream/snapshot3+hdmi~5787^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9faec5be3a27f95ee359b42c6c81b3173eb13958;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git perf/x86: Fix P6 driver section warning Fix a compile warning - 'a section type conflict' by removing __initconst. Signed-off-by: yangyongqiang Cc: Cyrill Gorcunov Cc: Vince Weaver Signed-off-by: Andrew Morton Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/cpu/perf_event_p6.c b/arch/x86/kernel/cpu/perf_event_p6.c index f2af39f..4820c23 100644 --- a/arch/x86/kernel/cpu/perf_event_p6.c +++ b/arch/x86/kernel/cpu/perf_event_p6.c @@ -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] =