Skip to content

Commit 395edbb

Browse files
Michael OpdenackerDavid Vrabel
authored andcommitted
xen: remove XEN_PRIVILEGED_GUEST
This patch removes the Kconfig symbol XEN_PRIVILEGED_GUEST which is used nowhere in the tree. We do know grub2 has a script that greps kernel configuration files for its macro. It shouldn't do that. As Linus summarized: This is a grub bug. It really is that simple. Treat it as one. Besides, grub2's grepping for that macro is actually superfluous. See, that script currently contains this test (simplified): grep -x CONFIG_XEN_DOM0=y $config || grep -x CONFIG_XEN_PRIVILEGED_GUEST=y $config But since XEN_DOM0 and XEN_PRIVILEGED_GUEST are by definition equal, removing XEN_PRIVILEGED_GUEST cannot influence this test. So there's no reason to not remove this symbol, like we do with all unused Kconfig symbols. [[email protected]: rewrote commit explanation.] Signed-off-by: Michael Opdenacker <[email protected]> Signed-off-by: Paul Bolle <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
1 parent 4892c9b commit 395edbb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

arch/x86/xen/Kconfig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ config XEN_DOM0
1919
depends on XEN && PCI_XEN && SWIOTLB_XEN
2020
depends on X86_LOCAL_APIC && X86_IO_APIC && ACPI && PCI
2121

22-
# Dummy symbol since people have come to rely on the PRIVILEGED_GUEST
23-
# name in tools.
24-
config XEN_PRIVILEGED_GUEST
25-
def_bool XEN_DOM0
26-
2722
config XEN_PVHVM
2823
def_bool y
2924
depends on XEN && PCI && X86_LOCAL_APIC

0 commit comments

Comments
 (0)