x86: Fix boot protocol KEEP_SEGMENTS check.
commitbd53147db8bdf5dd49025c198ff18ac23f560e0e
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 26 Oct 2007 17:29:04 +0000 (26 11:29 -0600)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 27 Oct 2007 18:57:43 +0000 (27 20:57 +0200)
tree50b65c7e72e2fdfc754e9c0844dbb7931d01e2db
parent0cca1ca647d87c2c0b0d76d2f32683ce34d54989
x86: Fix boot protocol KEEP_SEGMENTS check.

The kernel only ever supports 1 version of the boot protocol
so there is no need to check the boot protocol revision to
see if a feature is supported.

Both x86 and x86_64 support the same boot protocol so we need
to implement the KEEP_SEGMENTS on x86_64 as well.  It isn't
just paravirt bootloaders that could use this functionality.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Vivek Goyal <vgoyal@in.ibm.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Zachary Amsden <zach@vmware.com>
Cc: Andi Kleen <ak@suse.de>
Acked-by: H. Peter Anvin <hpa@zytor.com>
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/kernel/asm-offsets_64.c