Skip to content

Commit 5f76d70

Browse files
dgdegraafkonradwilk
authored andcommitted
xen: Remove hanging references to CONFIG_XEN_PLATFORM_PCI
In 5fbdc10 the XEN_PLATFORM_PCI config option was removed, but references in header files remained. Clean up those references. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
1 parent cd12909 commit 5f76d70

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎include/xen/platform_pci.h‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
static inline int xen_must_unplug_nics(void) {
3030
#if (defined(CONFIG_XEN_NETDEV_FRONTEND) || \
3131
defined(CONFIG_XEN_NETDEV_FRONTEND_MODULE)) && \
32-
(defined(CONFIG_XEN_PLATFORM_PCI) || \
33-
defined(CONFIG_XEN_PLATFORM_PCI_MODULE))
32+
defined(CONFIG_XEN_PVHVM)
3433
return 1;
3534
#else
3635
return 0;
@@ -40,8 +39,7 @@ static inline int xen_must_unplug_nics(void) {
4039
static inline int xen_must_unplug_disks(void) {
4140
#if (defined(CONFIG_XEN_BLKDEV_FRONTEND) || \
4241
defined(CONFIG_XEN_BLKDEV_FRONTEND_MODULE)) && \
43-
(defined(CONFIG_XEN_PLATFORM_PCI) || \
44-
defined(CONFIG_XEN_PLATFORM_PCI_MODULE))
42+
defined(CONFIG_XEN_PVHVM)
4543
return 1;
4644
#else
4745
return 0;

0 commit comments

Comments
 (0)