ACPI: Change acpi_evaluate_integer to support 64-bit on 32-bit kernels
authorMatthew Wilcox <willy@linux.intel.com>
Fri, 10 Oct 2008 06:22:59 +0000 (02:22 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 11 Oct 2008 06:47:33 +0000 (02:47 -0400)
commit27663c5855b10af9ec67bc7dfba001426ba21222
tree2b8c520bb57a792045d7d072398a4d840fada6c0
parent3fa8749e584b55f1180411ab1b51117190bac1e5
ACPI: Change acpi_evaluate_integer to support 64-bit on 32-bit kernels

As of version 2.0, ACPI can return 64-bit integers.  The current
acpi_evaluate_integer only supports 64-bit integers on 64-bit platforms.
Change the argument to take a pointer to an acpi_integer so we support
64-bit integers on all platforms.

lenb: replaced use of "acpi_integer" with "unsigned long long"
lenb: fixed bug in acpi_thermal_trips_update()

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
32 files changed:
arch/ia64/sn/kernel/io_acpi_init.c
drivers/acpi/ac.c
drivers/acpi/acpi_memhotplug.c
drivers/acpi/asus_acpi.c
drivers/acpi/bay.c
drivers/acpi/bus.c
drivers/acpi/button.c
drivers/acpi/container.c
drivers/acpi/dock.c
drivers/acpi/ec.c
drivers/acpi/numa.c
drivers/acpi/osl.c
drivers/acpi/pci_root.c
drivers/acpi/pci_slot.c
drivers/acpi/power.c
drivers/acpi/processor_core.c
drivers/acpi/processor_perflib.c
drivers/acpi/processor_throttling.c
drivers/acpi/sbshc.c
drivers/acpi/sleep/main.c
drivers/acpi/thermal.c
drivers/acpi/utils.c
drivers/acpi/video.c
drivers/ata/libata-acpi.c
drivers/misc/asus-laptop.c
drivers/misc/eeepc-laptop.c
drivers/misc/fujitsu-laptop.c
drivers/misc/intel_menlow.c
drivers/pci/hotplug/acpiphp_glue.c
drivers/pci/hotplug/acpiphp_ibm.c
drivers/pci/hotplug/sgi_hotplug.c
include/acpi/acpi_bus.h