summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-02-18 14:52:43 +0800
committerLen Brown <len.brown@intel.com>2009-03-26 16:38:28 -0400
commit4f70e371cdf6ab4f988fbaf2257e6259422ba662 (patch)
tree79ca9b7ad4c63def51c5892d0997956294c19e5d /include/acpi
parent3371c19c294a4cb3649aa4e84606be8a1d999e61 (diff)
downloadop-kernel-dev-4f70e371cdf6ab4f988fbaf2257e6259422ba662.zip
op-kernel-dev-4f70e371cdf6ab4f988fbaf2257e6259422ba662.tar.gz
ACPICA: Conditionally compile acpi_set_firmware_waking_vector64
This function is only needed on 64-bit host operating systems. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/acpixf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h
index 8f9df62..e10c896 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -351,11 +351,11 @@ acpi_status acpi_get_register_unlocked(u32 register_id, u32 *return_value);
acpi_status acpi_set_register(u32 register_id, u32 value);
-acpi_status
-acpi_set_firmware_waking_vector(u32 physical_address);
+acpi_status acpi_set_firmware_waking_vector(u32 physical_address);
-acpi_status
-acpi_set_firmware_waking_vector64(u64 physical_address);
+#if ACPI_MACHINE_WIDTH == 64
+acpi_status acpi_set_firmware_waking_vector64(u64 physical_address);
+#endif
acpi_status acpi_read(u32 *value, struct acpi_generic_address *reg);
OpenPOWER on IntegriCloud