Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux...
authorLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 20:12:46 +0000 (13:12 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 20:12:46 +0000 (13:12 -0700)
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (41 commits)
  ACPICA: hw: Don't carry spinlock over suspend
  ACPICA: hw: remove use_lock flag from acpi_hw_register_{read, write}
  ACPI: cpuidle: port idle timer suspend/resume workaround to cpuidle
  ACPI: clean up acpi_enter_sleep_state_prep
  Hibernation: Make sure that ACPI is enabled in acpi_hibernation_finish
  ACPI: suppress uninitialized var warning
  cpuidle: consolidate 2.6.22 cpuidle branch into one patch
  ACPI: thinkpad-acpi: skip blanks before the data when parsing sysfs
  ACPI: AC: Add sysfs interface
  ACPI: SBS: Add sysfs alarm
  ACPI: SBS: Add ACPI_PROCFS around procfs handling code.
  ACPI: SBS: Add support for power_supply class (and sysfs)
  ACPI: SBS: Make SBS reads table-driven.
  ACPI: SBS: Simplify data structures in SBS
  ACPI: SBS: Split host controller (ACPI0001) from SBS driver (ACPI0002)
  ACPI: EC: Add new query handler to list head.
  ACPI: Add acpi_bus_generate_event4() function
  ACPI: Battery: add sysfs alarm
  ACPI: Battery: Add sysfs support
  ACPI: Battery: Misc clean-ups, no functional changes
  ...

Fix up conflicts in drivers/misc/thinkpad_acpi.[ch] manually

16 files changed:
1  2 
arch/i386/Kconfig
arch/x86_64/Kconfig
drivers/Makefile
drivers/acpi/bus.c
drivers/acpi/osl.c
drivers/acpi/processor_idle.c
drivers/acpi/sleep/main.c
drivers/acpi/thermal.c
drivers/acpi/video.c
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/sony-laptop.c
drivers/misc/thinkpad_acpi.c
drivers/misc/thinkpad_acpi.h
drivers/net/wireless/ipw2100.c
kernel/time/tick-sched.c

@@@ -1080,8 -1067,10 +1080,10 @@@ config APM_REAL_MODE_POWER_OF
  
  endif # APM
  
 -source "arch/i386/kernel/cpu/cpufreq/Kconfig"
 +source "arch/x86/kernel/cpu/cpufreq/Kconfig"
  
+ source "drivers/cpuidle/Kconfig"
  endmenu
  
  menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
@@@ -716,15 -702,12 +716,17 @@@ menu "Power management options
  
  source kernel/power/Kconfig
  
 +config ARCH_HIBERNATION_HEADER
 +      bool
 +      depends on HIBERNATION
 +      default y
 +
  source "drivers/acpi/Kconfig"
  
 -source "arch/x86_64/kernel/cpufreq/Kconfig"
 +source "arch/x86/kernel/cpufreq/Kconfig"
  
+ source "drivers/cpuidle/Kconfig"
  endmenu
  
  menu "Bus options (PCI etc.)"
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -257,17 -253,13 +256,22 @@@ static int acpi_hibernation_enter(void
        return ACPI_SUCCESS(status) ? 0 : -EFAULT;
  }
  
 +static void acpi_hibernation_leave(void)
 +{
 +      /*
 +       * If ACPI is not enabled by the BIOS and the boot kernel, we need to
 +       * enable it here.
 +       */
 +      acpi_enable();
 +}
 +
  static void acpi_hibernation_finish(void)
  {
+       /*
+        * If ACPI is not enabled by the BIOS and the boot kernel, we need to
+        * enable it here.
+        */
+       acpi_enable();
        acpi_leave_sleep_state(ACPI_STATE_S4);
        acpi_disable_wakeup_device(ACPI_STATE_S4);
  
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -517,8 -526,10 +526,10 @@@ static char *next_cmd(char **cmds
   ****************************************************************************/
  
  static struct platform_device *tpacpi_pdev;
 -static struct class_device *tpacpi_hwmon;
+ static struct platform_device *tpacpi_sensors_pdev;
 +static struct device *tpacpi_hwmon;
  static struct input_dev *tpacpi_inputdev;
+ static struct mutex tpacpi_inputdev_send_mutex;
  
  
  static int tpacpi_resume_handler(struct platform_device *pdev)
@@@ -171,7 -172,8 +172,8 @@@ static int parse_strtoul(const char *bu
  
  /* Device model */
  static struct platform_device *tpacpi_pdev;
 -static struct class_device *tpacpi_hwmon;
+ static struct platform_device *tpacpi_sensors_pdev;
 +static struct device *tpacpi_hwmon;
  static struct platform_driver tpacpi_pdriver;
  static struct input_dev *tpacpi_inputdev;
  static int tpacpi_create_driver_attributes(struct device_driver *drv);
Simple merge
Simple merge