Re: [PATCH] x86/perf_events: build fix

2012-12-27 Thread Shaun Ruffell
[forgot to copy lkml] Hi Jan, On Fri, Nov 23, 2012 at 04:28:32PM +, Jan Beulich wrote: > At least some older gcc versions dislike mixing constant and non-const > data in the same section ("... causes a section type confict"). Newer > gcc simply emits the section as writable (which isn't what

[PATCH] x86/perf_events: build fix

2012-11-23 Thread Jan Beulich
At least some older gcc versions dislike mixing constant and non-const data in the same section ("... causes a section type confict"). Newer gcc simply emits the section as writable (which isn't what we want, but also is not a big problem as it gets discarded post-init anyway). Also get the Knight

[PATCH] x86/perf_events: build fix

2012-11-02 Thread Jan Beulich
At least some older gcc versions dislike mixing constant and non-const data in the same section ("... causes a section type confict"). Signed-off-by: Jan Beulich --- arch/x86/kernel/cpu/perf_event_p6.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 3.7-rc3/arch/x86/kernel/cpu/per