diff options
Diffstat (limited to 'include/asm-x86_64/acpi.h')
-rw-r--r-- | include/asm-x86_64/acpi.h | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/include/asm-x86_64/acpi.h b/include/asm-x86_64/acpi.h index 1da8f49c0fe2..98173357dd89 100644 --- a/include/asm-x86_64/acpi.h +++ b/include/asm-x86_64/acpi.h | |||
@@ -108,6 +108,15 @@ static inline void acpi_disable_pci(void) | |||
108 | } | 108 | } |
109 | extern int acpi_irq_balance_set(char *str); | 109 | extern int acpi_irq_balance_set(char *str); |
110 | 110 | ||
111 | /* routines for saving/restoring kernel state */ | ||
112 | extern int acpi_save_state_mem(void); | ||
113 | extern void acpi_restore_state_mem(void); | ||
114 | |||
115 | extern unsigned long acpi_wakeup_address; | ||
116 | |||
117 | /* early initialization routine */ | ||
118 | extern void acpi_reserve_bootmem(void); | ||
119 | |||
111 | #else /* !CONFIG_ACPI */ | 120 | #else /* !CONFIG_ACPI */ |
112 | 121 | ||
113 | #define acpi_lapic 0 | 122 | #define acpi_lapic 0 |
@@ -121,19 +130,6 @@ extern int acpi_numa; | |||
121 | extern int acpi_scan_nodes(unsigned long start, unsigned long end); | 130 | extern int acpi_scan_nodes(unsigned long start, unsigned long end); |
122 | #define NR_NODE_MEMBLKS (MAX_NUMNODES*2) | 131 | #define NR_NODE_MEMBLKS (MAX_NUMNODES*2) |
123 | 132 | ||
124 | #ifdef CONFIG_ACPI_SLEEP | ||
125 | |||
126 | /* routines for saving/restoring kernel state */ | ||
127 | extern int acpi_save_state_mem(void); | ||
128 | extern void acpi_restore_state_mem(void); | ||
129 | |||
130 | extern unsigned long acpi_wakeup_address; | ||
131 | |||
132 | /* early initialization routine */ | ||
133 | extern void acpi_reserve_bootmem(void); | ||
134 | |||
135 | #endif /*CONFIG_ACPI_SLEEP*/ | ||
136 | |||
137 | extern int acpi_disabled; | 133 | extern int acpi_disabled; |
138 | extern int acpi_pci_disabled; | 134 | extern int acpi_pci_disabled; |
139 | 135 | ||