]> Pileus Git - ~andy/linux/commit
x86, boot: Not need to check setup_header version for setup_data
authorYinghai Lu <yinghai@kernel.org>
Thu, 24 Jan 2013 20:20:08 +0000 (12:20 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 30 Jan 2013 03:32:57 +0000 (19:32 -0800)
commitd1af6d045fba6b070fa81f54dfe9227214be99ea
tree47f4176e5475726702b7ea9cf87fca1f38211bbf
parent8ee2f2dfdbdfe1851fcc0191b2d4faa4c26a39fb
x86, boot: Not need to check setup_header version for setup_data

That is for bootloaders.

setup_data is in setup_header, and bootloader is copying that from bzImage.
So for old bootloader should keep that as 0 already.

old kexec-tools till now for elf image set setup_data to 0, so it is ok.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1359058816-7615-28-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/setup.c