diff options
author | Michael Opdenacker <michael.opdenacker@free-electrons.com> | 2014-02-18 13:07:41 (GMT) |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2014-03-18 14:40:19 (GMT) |
commit | 395edbb80b049884df075be54ef46cc742c3e266 (patch) | |
tree | c870d8ba1d6747c7c56220d217b59df0b7ba9e46 /drivers/xen/grant-table.c | |
parent | 4892c9b4ada9f9a71a0da7a268f95e988d88064b (diff) | |
download | linux-395edbb80b049884df075be54ef46cc742c3e266.tar.xz |
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.
[pebolle@tiscali.nl: rewrote commit explanation.]
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/grant-table.c')
0 files changed, 0 insertions, 0 deletions