]> git.baikalelectronics.ru Git - kernel.git/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)
commit23585e0bfd9a3dc440ab98d7af9d2647955d3617
tree47f4176e5475726702b7ea9cf87fca1f38211bbf
parentee9f990c7b191f7a5901a6198647fb1fbf8d9e09
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