Skip to content

Commit

Permalink
xen: Remove hanging references to CONFIG_XEN_PLATFORM_PCI
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel De Graaf authored and Konrad Rzeszutek Wilk committed Nov 16, 2011
1 parent cd12909 commit 5f76d70
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions include/xen/platform_pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
static inline int xen_must_unplug_nics(void) {
#if (defined(CONFIG_XEN_NETDEV_FRONTEND) || \
defined(CONFIG_XEN_NETDEV_FRONTEND_MODULE)) && \
(defined(CONFIG_XEN_PLATFORM_PCI) || \
defined(CONFIG_XEN_PLATFORM_PCI_MODULE))
defined(CONFIG_XEN_PVHVM)
return 1;
#else
return 0;
Expand All @@ -40,8 +39,7 @@ static inline int xen_must_unplug_nics(void) {
static inline int xen_must_unplug_disks(void) {
#if (defined(CONFIG_XEN_BLKDEV_FRONTEND) || \
defined(CONFIG_XEN_BLKDEV_FRONTEND_MODULE)) && \
(defined(CONFIG_XEN_PLATFORM_PCI) || \
defined(CONFIG_XEN_PLATFORM_PCI_MODULE))
defined(CONFIG_XEN_PVHVM)
return 1;
#else
return 0;
Expand Down

0 comments on commit 5f76d70

Please sign in to comment.