[PATCH] i386: fix modpost warning in SMP trampoline code
authorVivek Goyal <vgoyal@in.ibm.com>
Sat, 6 Jan 2007 00:36:33 +0000 (16:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:23 +0000 (23:55 -0800)
commit1119a33a962077570ab0c2ef4712c0e48acfc577
tree1c1c858f73abeed3d05b76dfe90e3d64c8751dc6
parent9ab37b8f21b4dfe256d736c13738d20c88a1f3ad
[PATCH] i386: fix modpost warning in SMP trampoline code

o MODPOST generates warning for i386 if kernel is compiled with
  CONFIG_RELOCATABLE=y

WARNING: vmlinux - Section mismatch: reference to .init.text:startup_32_smp
from .data between 'trampoline_data' (at offset 0xc0519cf8) and 'boot_gdt'

o trampoline code/data can go into init section is CPU hotplug is not
  enabled.

Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Cc: Andi Kleen <ak@suse.de>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/trampoline.S