]> git.baikalelectronics.ru Git - kernel.git/commit
x86/boot: Remove KEEP_SEGMENTS support
authorArvind Sankar <nivedita@alum.mit.edu>
Sun, 2 Feb 2020 17:13:47 +0000 (12:13 -0500)
committerArd Biesheuvel <ardb@kernel.org>
Sat, 22 Feb 2020 22:37:37 +0000 (23:37 +0100)
commit6e8301704f998fbf4d3a6301800bebcdcb4c0f26
tree8de615eaa7de8d0a465c5738418ef6eb3f42ec4d
parent4442088702181ec205797285c99b44a3aedbdfa1
x86/boot: Remove KEEP_SEGMENTS support

Commit 390b0adfb6f3 ("i386: paravirt boot sequence") added this flag for
use by paravirtualized environments such as Xen. However, Xen never made
use of this flag [1], and it was only ever used by lguest [2].

Commit 0350596494a8 ("x86/lguest: Remove lguest support") removed
lguest, so KEEP_SEGMENTS has lost its last user.

[1] https://lore.kernel.org/lkml/4D4B097C.5050405@goop.org
[2] https://www.mail-archive.com/lguest@lists.ozlabs.org/msg00469.html

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Link: https://lore.kernel.org/r/20200202171353.3736319-2-nivedita@alum.mit.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Documentation/x86/boot.rst
arch/x86/boot/compressed/head_32.S
arch/x86/boot/compressed/head_64.S
arch/x86/kernel/head_32.S