x86: convert to use __HEAD and HEAD_TEXT macros.
authorTim Abbott <tabbott@ksplice.com>
Wed, 16 Sep 2009 20:44:28 +0000 (16:44 -0400)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 18 Sep 2009 17:21:50 +0000 (10:21 -0700)
commit4ae59b916d269255800d69a07ac5b0c368a417f8
tree8b4ae70e861c8cc28b463709b00d4b0b11b0681f
parent1dc818c1c574a4caa7b575bd9018d04090fb6c86
x86: convert to use __HEAD and HEAD_TEXT macros.

This has the consequence of changing the section name use for head
code from ".text.head" to ".head.text".  It also eliminates the
".text.head" output section (instead placing head code at the start of
the .text output section), which should be harmless.

This patch only changes the sections in the actual kernel, not those
in the compressed boot loader.

Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/head_32.S
arch/x86/kernel/head_64.S
arch/x86/kernel/vmlinux.lds.S