* [PATCH] xen/acpi: updates the argument of .remove operation of xen cpu/mem hotplug
@ 2013-02-15 17:06 Liu, Jinsong
0 siblings, 0 replies; only message in thread
From: Liu, Jinsong @ 2013-02-15 17:06 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk, Stephen Rothwell, Rafael J. Wysocki,
Wu, Fengguang
Cc: linux-next@vger•kernel.org, linux-kernel@vger•kernel.org,
xen-devel@lists•xensource.com
[-- Attachment #1: Type: text/plain, Size: 1641 bytes --]
>From 3e27e90049354a0f52fd006970fc8ecd80b08152 Mon Sep 17 00:00:00 2001
From: Liu Jinsong <jinsong.liu@intel•com>
Date: Sat, 16 Feb 2013 00:42:45 +0800
Subject: [PATCH] xen/acpi: updates the argument of .remove operation of xen cpu/mem hotplug
Rafael removed useless type argument of acpi driver .remove operation.
This patch updates the argument of .remove operation of xen cpu/memory
driver accordingly.
Signed-off-by: Liu Jinsong <jinsong.liu@intel•com>
---
drivers/xen/xen-acpi-cpuhotplug.c | 2 +-
drivers/xen/xen-acpi-memhotplug.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/xen/xen-acpi-cpuhotplug.c b/drivers/xen/xen-acpi-cpuhotplug.c
index acc5b12..7578279 100644
--- a/drivers/xen/xen-acpi-cpuhotplug.c
+++ b/drivers/xen/xen-acpi-cpuhotplug.c
@@ -113,7 +113,7 @@ static int __cpuinit xen_acpi_processor_add(struct acpi_device *device)
return ret;
}
-static int xen_acpi_processor_remove(struct acpi_device *device, int type)
+static int xen_acpi_processor_remove(struct acpi_device *device)
{
struct acpi_processor *pr;
diff --git a/drivers/xen/xen-acpi-memhotplug.c b/drivers/xen/xen-acpi-memhotplug.c
index 164287b..853b12d 100644
--- a/drivers/xen/xen-acpi-memhotplug.c
+++ b/drivers/xen/xen-acpi-memhotplug.c
@@ -329,7 +329,7 @@ static int xen_acpi_memory_device_add(struct acpi_device *device)
return result;
}
-static int xen_acpi_memory_device_remove(struct acpi_device *device, int type)
+static int xen_acpi_memory_device_remove(struct acpi_device *device)
{
struct acpi_memory_device *mem_device = NULL;
--
1.7.1
[-- Attachment #2: 0001-xen-acpi-updates-the-argument-of-.remove-operation-o.patch --]
[-- Type: application/octet-stream, Size: 1598 bytes --]
From 3e27e90049354a0f52fd006970fc8ecd80b08152 Mon Sep 17 00:00:00 2001
From: Liu Jinsong <jinsong.liu@intel•com>
Date: Sat, 16 Feb 2013 00:42:45 +0800
Subject: [PATCH] xen/acpi: updates the argument of .remove operation of xen cpu/mem hotplug
Rafael removed useless type argument of acpi driver .remove operation.
This patch updates the argument of .remove operation of xen cpu/memory
driver accordingly.
Signed-off-by: Liu Jinsong <jinsong.liu@intel•com>
---
drivers/xen/xen-acpi-cpuhotplug.c | 2 +-
drivers/xen/xen-acpi-memhotplug.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/xen/xen-acpi-cpuhotplug.c b/drivers/xen/xen-acpi-cpuhotplug.c
index acc5b12..7578279 100644
--- a/drivers/xen/xen-acpi-cpuhotplug.c
+++ b/drivers/xen/xen-acpi-cpuhotplug.c
@@ -113,7 +113,7 @@ static int __cpuinit xen_acpi_processor_add(struct acpi_device *device)
return ret;
}
-static int xen_acpi_processor_remove(struct acpi_device *device, int type)
+static int xen_acpi_processor_remove(struct acpi_device *device)
{
struct acpi_processor *pr;
diff --git a/drivers/xen/xen-acpi-memhotplug.c b/drivers/xen/xen-acpi-memhotplug.c
index 164287b..853b12d 100644
--- a/drivers/xen/xen-acpi-memhotplug.c
+++ b/drivers/xen/xen-acpi-memhotplug.c
@@ -329,7 +329,7 @@ static int xen_acpi_memory_device_add(struct acpi_device *device)
return result;
}
-static int xen_acpi_memory_device_remove(struct acpi_device *device, int type)
+static int xen_acpi_memory_device_remove(struct acpi_device *device)
{
struct acpi_memory_device *mem_device = NULL;
--
1.7.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-02-15 17:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-15 17:06 [PATCH] xen/acpi: updates the argument of .remove operation of xen cpu/mem hotplug Liu, Jinsong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox