]> git.baikalelectronics.ru Git - kernel.git/commit
x86: cleanup boot-heap usage
authorAlexander van Heukelum <heukelum@mailshack.com>
Tue, 8 Apr 2008 10:54:30 +0000 (12:54 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:19:54 +0000 (19:19 +0200)
commit1906124b9957044a78a988eb50765f0ea00cdc2f
tree164f28a8f8929188918fce267f8fd818c37f3f76
parentac2bfa781a803bdd862fdfe43b19a946daaa5546
x86: cleanup boot-heap usage

The kernel decompressor wrapper uses memory located beyond the
end of the image. This might lead to hard to debug problems,
but even if it can be proven to be safe, it is at the very
least unclean. I don't see any advantages either, unless you
count it not being zeroed out as an advantage. This patch
moves the boot-heap area to the bss segment.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/boot/compressed/head_32.S
arch/x86/boot/compressed/head_64.S
arch/x86/boot/compressed/misc.c
include/asm-x86/boot.h