xen/acpi: xen cpu hotplug minor updates
authorLiu Jinsong <jinsong.liu@intel.com>
Sun, 17 Feb 2013 03:47:24 +0000 (11:47 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 25 Feb 2013 12:44:29 +0000 (07:44 -0500)
commit1b37d6ea2cdc61102f4643d8cd654ec15212b927
tree8ba98292a756d790c33b54aa28c95d2a9f0ac097
parent484400ffbf2dd33446d71c05b9cddf91932a882e
xen/acpi: xen cpu hotplug minor updates

Recently at native Rafael did some cleanup for acpi, say, drop
acpi_bus_add, remove unnecessary argument of acpi_bus_scan,
and run acpi_bus_scan under acpi_scan_lock.

This patch does similar cleanup for xen cpu hotplug, removing
redundant logic, and adding lock.

Signed-off-by: Liu Jinsong <jinsong.liu@intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xen-acpi-cpuhotplug.c