]> git.baikalelectronics.ru Git - kernel.git/commit
i386: Fix section mismatches for init code with !HOTPLUG_CPU
authorJan Beulich <JBeulich@novell.com>
Tue, 18 Aug 2009 15:41:33 +0000 (16:41 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 18 Aug 2009 15:52:35 +0000 (17:52 +0200)
commit40bd1dc50a627015e87e467ec2c320b2d6e48794
tree32b43a946483c98afc09b58a0de5374c8d8f1fc2
parentbabb1b498c128a69a68ad32aab887f46d91acca0
i386: Fix section mismatches for init code with !HOTPLUG_CPU

Commit 92a0ff612eb4378b95d5ad3c92c2d69983ddabb2 changed the
section the initial_code variable gets allocated in, in an
attempt to address a section conflict warning. This, however
created a new section conflict when building without
HOTPLUG_CPU. The apparently only (reasonable) way to address
this is to always use __REFDATA.

Once at it, also fix a second section mismatch when not using
HOTPLUG_CPU.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Robert Richter <robert.richter@amd.com>
LKML-Reference: <4A8AE7CD020000780001054B@vpn.id2.novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/head_32.S