2015-07-25 17:35:10

by Julien Grall

[permalink] [raw]
Subject: [PATCH] arm/xen: Drop the definition of xen_pci_platform_unplug

The commit 6f6c15ef912465b3aaafe709f39bd6026a8b3e72 "xen/pvhvm: Remove
the xen_platform_pci int." makes the x86 version of
xen_pci_platform_unplug static.

Therefore we don't need anymore to define a dummy xen_pci_platform_unplug
for ARM.

Signed-off-by: Julien Grall <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Russell King <[email protected]>
---
arch/arm/xen/enlighten.c | 3 ---
1 file changed, 3 deletions(-)

diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c
index 6c09cc4..9055c92 100644
--- a/arch/arm/xen/enlighten.c
+++ b/arch/arm/xen/enlighten.c
@@ -49,9 +49,6 @@ struct xen_memory_region xen_extra_mem[XEN_EXTRA_MEM_MAX_REGIONS] __initdata;
__read_mostly int xen_have_vector_callback;
EXPORT_SYMBOL_GPL(xen_have_vector_callback);

-int xen_platform_pci_unplug = XEN_UNPLUG_ALL;
-EXPORT_SYMBOL_GPL(xen_platform_pci_unplug);
-
static __read_mostly unsigned int xen_events_irq;

static __initdata struct device_node *xen_node;
--
2.1.4


2015-08-03 09:56:21

by Stefano Stabellini

[permalink] [raw]
Subject: Re: [PATCH] arm/xen: Drop the definition of xen_pci_platform_unplug

On Sat, 25 Jul 2015, Julien Grall wrote:
> the xen_platform_pci int." makes the x86 version of
> xen_pci_platform_unplug static.
>
> Therefore we don't need anymore to define a dummy xen_pci_platform_unplug
> for ARM.
>
> Signed-off-by: Julien Grall <[email protected]>
> Cc: Stefano Stabellini <[email protected]>
> Cc: Russell King <[email protected]>

Queued for 4.3.


> arch/arm/xen/enlighten.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c
> index 6c09cc4..9055c92 100644
> --- a/arch/arm/xen/enlighten.c
> +++ b/arch/arm/xen/enlighten.c
> @@ -49,9 +49,6 @@ struct xen_memory_region xen_extra_mem[XEN_EXTRA_MEM_MAX_REGIONS] __initdata;
> __read_mostly int xen_have_vector_callback;
> EXPORT_SYMBOL_GPL(xen_have_vector_callback);
>
> -int xen_platform_pci_unplug = XEN_UNPLUG_ALL;
> -EXPORT_SYMBOL_GPL(xen_platform_pci_unplug);
> -
> static __read_mostly unsigned int xen_events_irq;
>
> static __initdata struct device_node *xen_node;
> --
> 2.1.4
>