diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /include/linux/acpi.h | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index c227757feb06..1deb2a73c2da 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -150,8 +150,7 @@ extern int ec_read(u8 addr, u8 *val); | |||
150 | extern int ec_write(u8 addr, u8 val); | 150 | extern int ec_write(u8 addr, u8 val); |
151 | extern int ec_transaction(u8 command, | 151 | extern int ec_transaction(u8 command, |
152 | const u8 *wdata, unsigned wdata_len, | 152 | const u8 *wdata, unsigned wdata_len, |
153 | u8 *rdata, unsigned rdata_len, | 153 | u8 *rdata, unsigned rdata_len); |
154 | int force_poll); | ||
155 | 154 | ||
156 | #if defined(CONFIG_ACPI_WMI) || defined(CONFIG_ACPI_WMI_MODULE) | 155 | #if defined(CONFIG_ACPI_WMI) || defined(CONFIG_ACPI_WMI_MODULE) |
157 | 156 | ||
@@ -219,7 +218,7 @@ static inline int acpi_video_display_switch_support(void) | |||
219 | 218 | ||
220 | extern int acpi_blacklisted(void); | 219 | extern int acpi_blacklisted(void); |
221 | extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); | 220 | extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); |
222 | extern int acpi_osi_setup(char *str); | 221 | extern void acpi_osi_setup(char *str); |
223 | 222 | ||
224 | #ifdef CONFIG_ACPI_NUMA | 223 | #ifdef CONFIG_ACPI_NUMA |
225 | int acpi_get_pxm(acpi_handle handle); | 224 | int acpi_get_pxm(acpi_handle handle); |
@@ -245,8 +244,6 @@ int acpi_check_resource_conflict(const struct resource *res); | |||
245 | 244 | ||
246 | int acpi_check_region(resource_size_t start, resource_size_t n, | 245 | int acpi_check_region(resource_size_t start, resource_size_t n, |
247 | const char *name); | 246 | const char *name); |
248 | int acpi_check_mem_region(resource_size_t start, resource_size_t n, | ||
249 | const char *name); | ||
250 | 247 | ||
251 | int acpi_resources_are_enforced(void); | 248 | int acpi_resources_are_enforced(void); |
252 | 249 | ||
@@ -344,12 +341,6 @@ static inline int acpi_check_region(resource_size_t start, resource_size_t n, | |||
344 | return 0; | 341 | return 0; |
345 | } | 342 | } |
346 | 343 | ||
347 | static inline int acpi_check_mem_region(resource_size_t start, | ||
348 | resource_size_t n, const char *name) | ||
349 | { | ||
350 | return 0; | ||
351 | } | ||
352 | |||
353 | struct acpi_table_header; | 344 | struct acpi_table_header; |
354 | static inline int acpi_table_parse(char *id, | 345 | static inline int acpi_table_parse(char *id, |
355 | int (*handler)(struct acpi_table_header *)) | 346 | int (*handler)(struct acpi_table_header *)) |
@@ -357,4 +348,14 @@ static inline int acpi_table_parse(char *id, | |||
357 | return -1; | 348 | return -1; |
358 | } | 349 | } |
359 | #endif /* !CONFIG_ACPI */ | 350 | #endif /* !CONFIG_ACPI */ |
351 | |||
352 | #ifdef CONFIG_ACPI_SLEEP | ||
353 | int suspend_nvs_register(unsigned long start, unsigned long size); | ||
354 | #else | ||
355 | static inline int suspend_nvs_register(unsigned long a, unsigned long b) | ||
356 | { | ||
357 | return 0; | ||
358 | } | ||
359 | #endif | ||
360 | |||
360 | #endif /*_LINUX_ACPI_H*/ | 361 | #endif /*_LINUX_ACPI_H*/ |