|
@@ -108,6 +108,15 @@ static inline void acpi_disable_pci(void)
|
|
|
}
|
|
|
extern int acpi_irq_balance_set(char *str);
|
|
|
|
|
|
+/* routines for saving/restoring kernel state */
|
|
|
+extern int acpi_save_state_mem(void);
|
|
|
+extern void acpi_restore_state_mem(void);
|
|
|
+
|
|
|
+extern unsigned long acpi_wakeup_address;
|
|
|
+
|
|
|
+/* early initialization routine */
|
|
|
+extern void acpi_reserve_bootmem(void);
|
|
|
+
|
|
|
#else /* !CONFIG_ACPI */
|
|
|
|
|
|
#define acpi_lapic 0
|
|
@@ -121,19 +130,6 @@ extern int acpi_numa;
|
|
|
extern int acpi_scan_nodes(unsigned long start, unsigned long end);
|
|
|
#define NR_NODE_MEMBLKS (MAX_NUMNODES*2)
|
|
|
|
|
|
-#ifdef CONFIG_ACPI_SLEEP
|
|
|
-
|
|
|
-/* routines for saving/restoring kernel state */
|
|
|
-extern int acpi_save_state_mem(void);
|
|
|
-extern void acpi_restore_state_mem(void);
|
|
|
-
|
|
|
-extern unsigned long acpi_wakeup_address;
|
|
|
-
|
|
|
-/* early initialization routine */
|
|
|
-extern void acpi_reserve_bootmem(void);
|
|
|
-
|
|
|
-#endif /*CONFIG_ACPI_SLEEP*/
|
|
|
-
|
|
|
extern int acpi_disabled;
|
|
|
extern int acpi_pci_disabled;
|
|
|
|