x86: convert compressed loader to use __HEAD and HEAD_TEXT macros.
authorTim Abbott <tabbott@ksplice.com>
Wed, 16 Sep 2009 20:44:27 +0000 (16:44 -0400)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 18 Sep 2009 17:21:49 +0000 (10:21 -0700)
commit1dc818c1c574a4caa7b575bd9018d04090fb6c86
tree346f49d1004f2c8024bb931ea5164060a10d6cc9
parentd223246ef7e6d73c8e3d9b58f27f2eb3fe95e25d
x86: convert compressed loader 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".

Linus suggested that we merge the ".text.head" section with ".text"
(presumably while preserving the fact that the head code starts at 0).
When I tried this it caused the kernel to not boot.

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