diff options
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index bf5e0009de75..8ccedf7a0a5a 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -189,32 +189,6 @@ extern int ec_transaction(u8 command, | |||
189 | extern int acpi_blacklisted(void); | 189 | extern int acpi_blacklisted(void); |
190 | extern void acpi_bios_year(char *s); | 190 | extern void acpi_bios_year(char *s); |
191 | 191 | ||
192 | #define ACPI_CSTATE_LIMIT_DEFINED /* for driver builds */ | ||
193 | #ifdef CONFIG_ACPI | ||
194 | |||
195 | /* | ||
196 | * Set highest legal C-state | ||
197 | * 0: C0 okay, but not C1 | ||
198 | * 1: C1 okay, but not C2 | ||
199 | * 2: C2 okay, but not C3 etc. | ||
200 | */ | ||
201 | |||
202 | extern unsigned int max_cstate; | ||
203 | |||
204 | static inline unsigned int acpi_get_cstate_limit(void) | ||
205 | { | ||
206 | return max_cstate; | ||
207 | } | ||
208 | static inline void acpi_set_cstate_limit(unsigned int new_limit) | ||
209 | { | ||
210 | max_cstate = new_limit; | ||
211 | return; | ||
212 | } | ||
213 | #else | ||
214 | static inline unsigned int acpi_get_cstate_limit(void) { return 0; } | ||
215 | static inline void acpi_set_cstate_limit(unsigned int new_limit) { return; } | ||
216 | #endif | ||
217 | |||
218 | #ifdef CONFIG_ACPI_NUMA | 192 | #ifdef CONFIG_ACPI_NUMA |
219 | int acpi_get_pxm(acpi_handle handle); | 193 | int acpi_get_pxm(acpi_handle handle); |
220 | int acpi_get_node(acpi_handle *handle); | 194 | int acpi_get_node(acpi_handle *handle); |