diff options
author | Len Brown <len.brown@intel.com> | 2005-08-05 00:31:42 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-08-05 00:31:42 -0400 |
commit | 1d492eb41371d9a5145651e8eb64bea1042a4057 (patch) | |
tree | 2a66a8fd347cf8dd8a665c4575b30d873035a5a4 /include | |
parent | 5d2a22079c825669d91a3a200332f1053b4b61b0 (diff) | |
parent | cbfc1bae55bbd053308ef0fa6b6448cd1ddf3e67 (diff) |
[ACPI] Merge acpi-2.6.12 branch into 2.6.13-rc3
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ia64/acpi-ext.h | 1 | ||||
-rw-r--r-- | include/linux/acpi.h | 24 |
2 files changed, 14 insertions, 11 deletions
diff --git a/include/asm-ia64/acpi-ext.h b/include/asm-ia64/acpi-ext.h index 9271d74c64cc..56d2ddc97b30 100644 --- a/include/asm-ia64/acpi-ext.h +++ b/include/asm-ia64/acpi-ext.h | |||
@@ -11,6 +11,7 @@ | |||
11 | #define _ASM_IA64_ACPI_EXT_H | 11 | #define _ASM_IA64_ACPI_EXT_H |
12 | 12 | ||
13 | #include <linux/types.h> | 13 | #include <linux/types.h> |
14 | #include <acpi/actypes.h> | ||
14 | 15 | ||
15 | extern acpi_status hp_acpi_csr_space (acpi_handle, u64 *base, u64 *length); | 16 | extern acpi_status hp_acpi_csr_space (acpi_handle, u64 *base, u64 *length); |
16 | 17 | ||
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index b46a5205ee7b..fd48db320f5b 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -433,19 +433,9 @@ extern int sbf_port ; | |||
433 | 433 | ||
434 | #define acpi_mp_config 0 | 434 | #define acpi_mp_config 0 |
435 | 435 | ||
436 | static inline int acpi_boot_init(void) | ||
437 | { | ||
438 | return 0; | ||
439 | } | ||
440 | |||
441 | static inline int acpi_boot_table_init(void) | ||
442 | { | ||
443 | return 0; | ||
444 | } | ||
445 | |||
446 | #endif /*!CONFIG_ACPI_BOOT*/ | 436 | #endif /*!CONFIG_ACPI_BOOT*/ |
447 | 437 | ||
448 | unsigned int acpi_register_gsi (u32 gsi, int edge_level, int active_high_low); | 438 | int acpi_register_gsi (u32 gsi, int edge_level, int active_high_low); |
449 | int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); | 439 | int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); |
450 | 440 | ||
451 | /* | 441 | /* |
@@ -549,5 +539,17 @@ static inline int acpi_get_pxm(acpi_handle handle) | |||
549 | 539 | ||
550 | extern int pnpacpi_disabled; | 540 | extern int pnpacpi_disabled; |
551 | 541 | ||
542 | #else /* CONFIG_ACPI */ | ||
543 | |||
544 | static inline int acpi_boot_init(void) | ||
545 | { | ||
546 | return 0; | ||
547 | } | ||
548 | |||
549 | static inline int acpi_boot_table_init(void) | ||
550 | { | ||
551 | return 0; | ||
552 | } | ||
553 | |||
552 | #endif /* CONFIG_ACPI */ | 554 | #endif /* CONFIG_ACPI */ |
553 | #endif /*_LINUX_ACPI_H*/ | 555 | #endif /*_LINUX_ACPI_H*/ |