From: Len Brown Date: Sun, 22 Jul 2007 06:27:40 +0000 (-0400) Subject: Pull misc into release branch X-Git-Tag: v2.6.23-rc1~17^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f79e3185dd0f8650022518d7624c876d8929061b;p=linux-2.6-omap-h63xx.git Pull misc into release branch Conflicts: Documentation/feature-removal-schedule.txt --- f79e3185dd0f8650022518d7624c876d8929061b diff --cc Documentation/feature-removal-schedule.txt index a5cb7839a67,769862197ac..c175eedadb5 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt @@@ -180,24 -205,33 +180,11 @@@ Who: Adrian Bunk -Who: Venkatesh Pallipadi -- ----------------------------- -- What: ACPI procfs interface - When: July 2007 - Why: After ACPI sysfs conversion, ACPI attributes will be duplicated - in sysfs and the ACPI procfs interface should be removed. + When: July 2008 + Why: ACPI sysfs conversion should be finished by January 2008. + ACPI procfs interface will be removed in July 2008 so that + there is enough time for the user space to catch up. Who: Zhang Rui --------------------------- diff --cc drivers/acpi/sleep/main.c index 42127c0d612,56afb1c1a49..3279e72a94f --- a/drivers/acpi/sleep/main.c +++ b/drivers/acpi/sleep/main.c @@@ -210,27 -210,8 +210,22 @@@ static void acpi_hibernation_finish(voi /* reset firmware waking vector */ acpi_set_firmware_waking_vector((acpi_physical_address) 0); - - if (init_8259A_after_S1) { - printk("Broken toshiba laptop -> kicking interrupts\n"); - init_8259A(0); - } } +static int acpi_hibernation_pre_restore(void) +{ + acpi_status status; + + status = acpi_hw_disable_all_gpes(); + + return ACPI_SUCCESS(status) ? 0 : -EFAULT; +} + +static void acpi_hibernation_restore_cleanup(void) +{ + acpi_hw_enable_all_runtime_gpes(); +} + static struct hibernation_ops acpi_hibernation_ops = { .prepare = acpi_hibernation_prepare, .enter = acpi_hibernation_enter,