aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/include/asm/acpi.h1
-rw-r--r--include/linux/acpi.h11
2 files changed, 10 insertions, 2 deletions
diff --git a/arch/x86/include/asm/acpi.h b/arch/x86/include/asm/acpi.h
index 20d1465a2ab0..4518dc500903 100644
--- a/arch/x86/include/asm/acpi.h
+++ b/arch/x86/include/asm/acpi.h
@@ -144,7 +144,6 @@ static inline unsigned int acpi_processor_cstate_check(unsigned int max_cstate)
144 144
145#else /* !CONFIG_ACPI */ 145#else /* !CONFIG_ACPI */
146 146
147#define acpi_disabled 1
148#define acpi_lapic 0 147#define acpi_lapic 0
149#define acpi_ioapic 0 148#define acpi_ioapic 0
150static inline void acpi_noirq_set(void) { } 149static inline void acpi_noirq_set(void) { }
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 34321cfffeab..3fce811bf9ac 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -292,7 +292,10 @@ void __init acpi_s4_no_nvs(void);
292extern acpi_status acpi_pci_osc_control_set(acpi_handle handle, u32 flags); 292extern acpi_status acpi_pci_osc_control_set(acpi_handle handle, u32 flags);
293extern void acpi_early_init(void); 293extern void acpi_early_init(void);
294 294
295#else /* CONFIG_ACPI */ 295#else /* !CONFIG_ACPI */
296
297#define acpi_disabled 1
298
296static inline void acpi_early_init(void) { } 299static inline void acpi_early_init(void) { }
297 300
298static inline int early_acpi_boot_init(void) 301static inline int early_acpi_boot_init(void)
@@ -331,5 +334,11 @@ static inline int acpi_check_mem_region(resource_size_t start,
331 return 0; 334 return 0;
332} 335}
333 336
337struct acpi_table_header;
338static inline int acpi_table_parse(char *id,
339 int (*handler)(struct acpi_table_header *))
340{
341 return -1;
342}
334#endif /* !CONFIG_ACPI */ 343#endif /* !CONFIG_ACPI */
335#endif /*_LINUX_ACPI_H*/ 344#endif /*_LINUX_ACPI_H*/