[ACPI] Merge acpi-2.6.12 branch into 2.6.13-rc3
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
@@ -154,12 +154,10 @@ config ACPI_PROCESSOR
|
||||
support it.
|
||||
|
||||
config ACPI_HOTPLUG_CPU
|
||||
bool "Processor Hotplug (EXPERIMENTAL)"
|
||||
depends on ACPI_PROCESSOR && HOTPLUG_CPU && EXPERIMENTAL
|
||||
bool
|
||||
depends on ACPI_PROCESSOR && HOTPLUG_CPU
|
||||
select ACPI_CONTAINER
|
||||
default n
|
||||
---help---
|
||||
Select this option if your platform support physical CPU hotplug.
|
||||
default y
|
||||
|
||||
config ACPI_THERMAL
|
||||
tristate "Thermal Zone"
|
||||
|
@@ -424,6 +424,7 @@ acpi_pci_irq_enable (
|
||||
int edge_level = ACPI_LEVEL_SENSITIVE;
|
||||
int active_high_low = ACPI_ACTIVE_LOW;
|
||||
char *link = NULL;
|
||||
int rc;
|
||||
|
||||
ACPI_FUNCTION_TRACE("acpi_pci_irq_enable");
|
||||
|
||||
@@ -476,7 +477,13 @@ acpi_pci_irq_enable (
|
||||
}
|
||||
}
|
||||
|
||||
dev->irq = acpi_register_gsi(irq, edge_level, active_high_low);
|
||||
rc = acpi_register_gsi(irq, edge_level, active_high_low);
|
||||
if (rc < 0) {
|
||||
printk(KERN_WARNING PREFIX "PCI Interrupt %s[%c]: failed "
|
||||
"to register GSI\n", pci_name(dev), ('A' + pin));
|
||||
return_VALUE(rc);
|
||||
}
|
||||
dev->irq = rc;
|
||||
|
||||
printk(KERN_INFO PREFIX "PCI Interrupt %s[%c] -> ",
|
||||
pci_name(dev), 'A' + pin);
|
||||
|
@@ -804,8 +804,7 @@ acpi_pci_link_resume(
|
||||
*/
|
||||
int acpi_in_resume;
|
||||
static int
|
||||
irqrouter_resume(
|
||||
struct sys_device *dev)
|
||||
irqrouter_resume(struct sys_device *dev)
|
||||
{
|
||||
struct list_head *node = NULL;
|
||||
struct acpi_pci_link *link = NULL;
|
||||
|
@@ -1665,6 +1665,7 @@ static int
|
||||
acpi_video_bus_put_one_device(
|
||||
struct acpi_video_device *device)
|
||||
{
|
||||
acpi_status status;
|
||||
struct acpi_video_bus *video;
|
||||
|
||||
ACPI_FUNCTION_TRACE("acpi_video_bus_put_one_device");
|
||||
@@ -1679,6 +1680,12 @@ acpi_video_bus_put_one_device(
|
||||
up(&video->sem);
|
||||
acpi_video_device_remove_fs(device->dev);
|
||||
|
||||
status = acpi_remove_notify_handler(device->handle,
|
||||
ACPI_DEVICE_NOTIFY, acpi_video_device_notify);
|
||||
if (ACPI_FAILURE(status))
|
||||
ACPI_DEBUG_PRINT((ACPI_DB_ERROR,
|
||||
"Error removing notify handler\n"));
|
||||
|
||||
return_VALUE(0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user