diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/acpi/acdispat.h | 9 | ||||
-rw-r--r-- | include/acpi/acglobal.h | 2 | ||||
-rw-r--r-- | include/acpi/acinterp.h | 9 | ||||
-rw-r--r-- | include/acpi/aclocal.h | 2 | ||||
-rw-r--r-- | include/acpi/acnamesp.h | 6 | ||||
-rw-r--r-- | include/acpi/acobject.h | 4 | ||||
-rw-r--r-- | include/acpi/acpi_bus.h | 9 | ||||
-rw-r--r-- | include/acpi/acpi_drivers.h | 6 | ||||
-rw-r--r-- | include/acpi/acpi_numa.h | 2 | ||||
-rw-r--r-- | include/acpi/acpiosxf.h | 3 | ||||
-rw-r--r-- | include/acpi/actypes.h | 2 | ||||
-rw-r--r-- | include/acpi/acutils.h | 3 | ||||
-rw-r--r-- | include/acpi/platform/aclinux.h | 21 | ||||
-rw-r--r-- | include/acpi/processor.h | 18 |
14 files changed, 55 insertions, 41 deletions
diff --git a/include/acpi/acdispat.h b/include/acpi/acdispat.h index cb8d2868c8ac..7f690bb0f02f 100644 --- a/include/acpi/acdispat.h +++ b/include/acpi/acdispat.h | |||
@@ -290,12 +290,9 @@ acpi_ds_obj_stack_push(void *object, struct acpi_walk_state *walk_state); | |||
290 | acpi_status | 290 | acpi_status |
291 | acpi_ds_obj_stack_pop(u32 pop_count, struct acpi_walk_state *walk_state); | 291 | acpi_ds_obj_stack_pop(u32 pop_count, struct acpi_walk_state *walk_state); |
292 | 292 | ||
293 | struct acpi_walk_state *acpi_ds_create_walk_state(acpi_owner_id owner_id, | 293 | struct acpi_walk_state *acpi_ds_create_walk_state(acpi_owner_id owner_id, union acpi_parse_object |
294 | union acpi_parse_object | 294 | *origin, union acpi_operand_object |
295 | *origin, | 295 | *mth_desc, struct acpi_thread_state |
296 | union acpi_operand_object | ||
297 | *mth_desc, | ||
298 | struct acpi_thread_state | ||
299 | *thread); | 296 | *thread); |
300 | 297 | ||
301 | acpi_status | 298 | acpi_status |
diff --git a/include/acpi/acglobal.h b/include/acpi/acglobal.h index 24c3f05ab367..347a911d8237 100644 --- a/include/acpi/acglobal.h +++ b/include/acpi/acglobal.h | |||
@@ -319,7 +319,7 @@ ACPI_EXTERN struct acpi_fixed_event_handler | |||
319 | acpi_gbl_fixed_event_handlers[ACPI_NUM_FIXED_EVENTS]; | 319 | acpi_gbl_fixed_event_handlers[ACPI_NUM_FIXED_EVENTS]; |
320 | ACPI_EXTERN struct acpi_gpe_xrupt_info *acpi_gbl_gpe_xrupt_list_head; | 320 | ACPI_EXTERN struct acpi_gpe_xrupt_info *acpi_gbl_gpe_xrupt_list_head; |
321 | ACPI_EXTERN struct acpi_gpe_block_info | 321 | ACPI_EXTERN struct acpi_gpe_block_info |
322 | *acpi_gbl_gpe_fadt_blocks[ACPI_MAX_GPE_BLOCKS]; | 322 | *acpi_gbl_gpe_fadt_blocks[ACPI_MAX_GPE_BLOCKS]; |
323 | 323 | ||
324 | /***************************************************************************** | 324 | /***************************************************************************** |
325 | * | 325 | * |
diff --git a/include/acpi/acinterp.h b/include/acpi/acinterp.h index 440983019993..ce7c9d653910 100644 --- a/include/acpi/acinterp.h +++ b/include/acpi/acinterp.h | |||
@@ -253,8 +253,7 @@ acpi_ex_release_mutex(union acpi_operand_object *obj_desc, | |||
253 | 253 | ||
254 | void acpi_ex_release_all_mutexes(struct acpi_thread_state *thread); | 254 | void acpi_ex_release_all_mutexes(struct acpi_thread_state *thread); |
255 | 255 | ||
256 | void acpi_ex_unlink_mutex(union acpi_operand_object *obj_desc, | 256 | void acpi_ex_unlink_mutex(union acpi_operand_object *obj_desc); |
257 | struct acpi_thread_state *thread); | ||
258 | 257 | ||
259 | /* | 258 | /* |
260 | * exprep - ACPI AML execution - prep utilities | 259 | * exprep - ACPI AML execution - prep utilities |
@@ -446,10 +445,14 @@ acpi_ex_copy_integer_to_buffer_field(union acpi_operand_object *source_desc, | |||
446 | /* | 445 | /* |
447 | * exutils - interpreter/scanner utilities | 446 | * exutils - interpreter/scanner utilities |
448 | */ | 447 | */ |
449 | acpi_status acpi_ex_enter_interpreter(void); | 448 | void acpi_ex_enter_interpreter(void); |
450 | 449 | ||
451 | void acpi_ex_exit_interpreter(void); | 450 | void acpi_ex_exit_interpreter(void); |
452 | 451 | ||
452 | void acpi_ex_reacquire_interpreter(void); | ||
453 | |||
454 | void acpi_ex_relinquish_interpreter(void); | ||
455 | |||
453 | void acpi_ex_truncate_for32bit_table(union acpi_operand_object *obj_desc); | 456 | void acpi_ex_truncate_for32bit_table(union acpi_operand_object *obj_desc); |
454 | 457 | ||
455 | u8 acpi_ex_acquire_global_lock(u32 rule); | 458 | u8 acpi_ex_acquire_global_lock(u32 rule); |
diff --git a/include/acpi/aclocal.h b/include/acpi/aclocal.h index 6f83ddbed3af..202cd4242ba1 100644 --- a/include/acpi/aclocal.h +++ b/include/acpi/aclocal.h | |||
@@ -630,7 +630,7 @@ ACPI_PARSE_COMMON}; | |||
630 | * and bytelists. | 630 | * and bytelists. |
631 | */ | 631 | */ |
632 | struct acpi_parse_obj_named { | 632 | struct acpi_parse_obj_named { |
633 | ACPI_PARSE_COMMON u8 * path; | 633 | ACPI_PARSE_COMMON u8 *path; |
634 | u8 *data; /* AML body or bytelist data */ | 634 | u8 *data; /* AML body or bytelist data */ |
635 | u32 length; /* AML length */ | 635 | u32 length; /* AML length */ |
636 | u32 name; /* 4-byte name or zero if no name */ | 636 | u32 name; /* 4-byte name or zero if no name */ |
diff --git a/include/acpi/acnamesp.h b/include/acpi/acnamesp.h index 535b7e1c41bc..5ef38a6c8a61 100644 --- a/include/acpi/acnamesp.h +++ b/include/acpi/acnamesp.h | |||
@@ -100,10 +100,8 @@ acpi_ns_walk_namespace(acpi_object_type type, | |||
100 | acpi_walk_callback user_function, | 100 | acpi_walk_callback user_function, |
101 | void *context, void **return_value); | 101 | void *context, void **return_value); |
102 | 102 | ||
103 | struct acpi_namespace_node *acpi_ns_get_next_node(acpi_object_type type, | 103 | struct acpi_namespace_node *acpi_ns_get_next_node(acpi_object_type type, struct acpi_namespace_node |
104 | struct acpi_namespace_node | 104 | *parent, struct acpi_namespace_node |
105 | *parent, | ||
106 | struct acpi_namespace_node | ||
107 | *child); | 105 | *child); |
108 | 106 | ||
109 | /* | 107 | /* |
diff --git a/include/acpi/acobject.h b/include/acpi/acobject.h index 5206d61d74a6..7e1211a8b8fa 100644 --- a/include/acpi/acobject.h +++ b/include/acpi/acobject.h | |||
@@ -155,7 +155,7 @@ struct acpi_object_event { | |||
155 | struct acpi_object_mutex { | 155 | struct acpi_object_mutex { |
156 | ACPI_OBJECT_COMMON_HEADER u8 sync_level; /* 0-15, specified in Mutex() call */ | 156 | ACPI_OBJECT_COMMON_HEADER u8 sync_level; /* 0-15, specified in Mutex() call */ |
157 | u16 acquisition_depth; /* Allow multiple Acquires, same thread */ | 157 | u16 acquisition_depth; /* Allow multiple Acquires, same thread */ |
158 | acpi_thread_id owner_thread_id; /* Current owner of the mutex */ | 158 | struct acpi_thread_state *owner_thread; /* Current owner of the mutex */ |
159 | acpi_mutex os_mutex; /* Actual OS synchronization object */ | 159 | acpi_mutex os_mutex; /* Actual OS synchronization object */ |
160 | union acpi_operand_object *prev; /* Link for list of acquired mutexes */ | 160 | union acpi_operand_object *prev; /* Link for list of acquired mutexes */ |
161 | union acpi_operand_object *next; /* Link for list of acquired mutexes */ | 161 | union acpi_operand_object *next; /* Link for list of acquired mutexes */ |
@@ -216,7 +216,7 @@ struct acpi_object_processor { | |||
216 | /* The next two fields take advantage of the 3-byte space before NOTIFY_INFO */ | 216 | /* The next two fields take advantage of the 3-byte space before NOTIFY_INFO */ |
217 | u8 proc_id; | 217 | u8 proc_id; |
218 | u8 length; | 218 | u8 length; |
219 | ACPI_COMMON_NOTIFY_INFO acpi_io_address address; | 219 | ACPI_COMMON_NOTIFY_INFO acpi_io_address address; |
220 | }; | 220 | }; |
221 | 221 | ||
222 | struct acpi_object_thermal_zone { | 222 | struct acpi_object_thermal_zone { |
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 9cfd5b1a48eb..c6fa5e023bc7 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -91,7 +91,8 @@ typedef int (*acpi_op_remove) (struct acpi_device * device, int type); | |||
91 | typedef int (*acpi_op_lock) (struct acpi_device * device, int type); | 91 | typedef int (*acpi_op_lock) (struct acpi_device * device, int type); |
92 | typedef int (*acpi_op_start) (struct acpi_device * device); | 92 | typedef int (*acpi_op_start) (struct acpi_device * device); |
93 | typedef int (*acpi_op_stop) (struct acpi_device * device, int type); | 93 | typedef int (*acpi_op_stop) (struct acpi_device * device, int type); |
94 | typedef int (*acpi_op_suspend) (struct acpi_device * device, pm_message_t state); | 94 | typedef int (*acpi_op_suspend) (struct acpi_device * device, |
95 | pm_message_t state); | ||
95 | typedef int (*acpi_op_resume) (struct acpi_device * device); | 96 | typedef int (*acpi_op_resume) (struct acpi_device * device); |
96 | typedef int (*acpi_op_scan) (struct acpi_device * device); | 97 | typedef int (*acpi_op_scan) (struct acpi_device * device); |
97 | typedef int (*acpi_op_bind) (struct acpi_device * device); | 98 | typedef int (*acpi_op_bind) (struct acpi_device * device); |
@@ -296,7 +297,7 @@ struct acpi_device { | |||
296 | void *driver_data; | 297 | void *driver_data; |
297 | struct device dev; | 298 | struct device dev; |
298 | struct acpi_bus_ops bus_ops; /* workaround for different code path for hotplug */ | 299 | struct acpi_bus_ops bus_ops; /* workaround for different code path for hotplug */ |
299 | enum acpi_bus_removal_type removal_type; /* indicate for different removal type */ | 300 | enum acpi_bus_removal_type removal_type; /* indicate for different removal type */ |
300 | }; | 301 | }; |
301 | 302 | ||
302 | #define acpi_driver_data(d) ((d)->driver_data) | 303 | #define acpi_driver_data(d) ((d)->driver_data) |
@@ -338,7 +339,7 @@ int acpi_bus_add(struct acpi_device **child, struct acpi_device *parent, | |||
338 | acpi_handle handle, int type); | 339 | acpi_handle handle, int type); |
339 | int acpi_bus_trim(struct acpi_device *start, int rmdevice); | 340 | int acpi_bus_trim(struct acpi_device *start, int rmdevice); |
340 | int acpi_bus_start(struct acpi_device *device); | 341 | int acpi_bus_start(struct acpi_device *device); |
341 | acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle *ejd); | 342 | acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd); |
342 | int acpi_match_ids(struct acpi_device *device, char *ids); | 343 | int acpi_match_ids(struct acpi_device *device, char *ids); |
343 | int acpi_create_dir(struct acpi_device *); | 344 | int acpi_create_dir(struct acpi_device *); |
344 | void acpi_remove_dir(struct acpi_device *); | 345 | void acpi_remove_dir(struct acpi_device *); |
@@ -363,6 +364,6 @@ acpi_handle acpi_get_child(acpi_handle, acpi_integer); | |||
363 | acpi_handle acpi_get_pci_rootbridge_handle(unsigned int, unsigned int); | 364 | acpi_handle acpi_get_pci_rootbridge_handle(unsigned int, unsigned int); |
364 | #define DEVICE_ACPI_HANDLE(dev) ((acpi_handle)((dev)->archdata.acpi_handle)) | 365 | #define DEVICE_ACPI_HANDLE(dev) ((acpi_handle)((dev)->archdata.acpi_handle)) |
365 | 366 | ||
366 | #endif /* CONFIG_ACPI */ | 367 | #endif /* CONFIG_ACPI */ |
367 | 368 | ||
368 | #endif /*__ACPI_BUS_H__*/ | 369 | #endif /*__ACPI_BUS_H__*/ |
diff --git a/include/acpi/acpi_drivers.h b/include/acpi/acpi_drivers.h index f6275b0e66dd..553515912c0b 100644 --- a/include/acpi/acpi_drivers.h +++ b/include/acpi/acpi_drivers.h | |||
@@ -113,7 +113,8 @@ extern int is_dock_device(acpi_handle handle); | |||
113 | extern int register_dock_notifier(struct notifier_block *nb); | 113 | extern int register_dock_notifier(struct notifier_block *nb); |
114 | extern void unregister_dock_notifier(struct notifier_block *nb); | 114 | extern void unregister_dock_notifier(struct notifier_block *nb); |
115 | extern int register_hotplug_dock_device(acpi_handle handle, | 115 | extern int register_hotplug_dock_device(acpi_handle handle, |
116 | acpi_notify_handler handler, void *context); | 116 | acpi_notify_handler handler, |
117 | void *context); | ||
117 | extern void unregister_hotplug_dock_device(acpi_handle handle); | 118 | extern void unregister_hotplug_dock_device(acpi_handle handle); |
118 | #else | 119 | #else |
119 | static inline int is_dock_device(acpi_handle handle) | 120 | static inline int is_dock_device(acpi_handle handle) |
@@ -128,7 +129,8 @@ static inline void unregister_dock_notifier(struct notifier_block *nb) | |||
128 | { | 129 | { |
129 | } | 130 | } |
130 | static inline int register_hotplug_dock_device(acpi_handle handle, | 131 | static inline int register_hotplug_dock_device(acpi_handle handle, |
131 | acpi_notify_handler handler, void *context) | 132 | acpi_notify_handler handler, |
133 | void *context) | ||
132 | { | 134 | { |
133 | return -ENODEV; | 135 | return -ENODEV; |
134 | } | 136 | } |
diff --git a/include/acpi/acpi_numa.h b/include/acpi/acpi_numa.h index 1049f2a0a6db..f9d2bde9a7bb 100644 --- a/include/acpi/acpi_numa.h +++ b/include/acpi/acpi_numa.h | |||
@@ -8,7 +8,7 @@ | |||
8 | #if MAX_NUMNODES > 256 | 8 | #if MAX_NUMNODES > 256 |
9 | #define MAX_PXM_DOMAINS MAX_NUMNODES | 9 | #define MAX_PXM_DOMAINS MAX_NUMNODES |
10 | #else | 10 | #else |
11 | #define MAX_PXM_DOMAINS (256) /* Old pxm spec is defined 8 bit */ | 11 | #define MAX_PXM_DOMAINS (256) /* Old pxm spec is defined 8 bit */ |
12 | #endif | 12 | #endif |
13 | 13 | ||
14 | extern int __cpuinitdata pxm_to_node_map[MAX_PXM_DOMAINS]; | 14 | extern int __cpuinitdata pxm_to_node_map[MAX_PXM_DOMAINS]; |
diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h index 2785058c82ab..5e07db0d46e9 100644 --- a/include/acpi/acpiosxf.h +++ b/include/acpi/acpiosxf.h | |||
@@ -143,7 +143,8 @@ void acpi_os_release_mutex(acpi_mutex handle); | |||
143 | */ | 143 | */ |
144 | void *acpi_os_allocate(acpi_size size); | 144 | void *acpi_os_allocate(acpi_size size); |
145 | 145 | ||
146 | void __iomem *acpi_os_map_memory(acpi_physical_address where, acpi_native_uint length); | 146 | void __iomem *acpi_os_map_memory(acpi_physical_address where, |
147 | acpi_native_uint length); | ||
147 | 148 | ||
148 | void acpi_os_unmap_memory(void __iomem * logical_address, acpi_size size); | 149 | void acpi_os_unmap_memory(void __iomem * logical_address, acpi_size size); |
149 | 150 | ||
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index 56bf492e7acc..fe8abc276437 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h | |||
@@ -344,7 +344,7 @@ typedef u32 acpi_integer; | |||
344 | 344 | ||
345 | /* 64-bit integers */ | 345 | /* 64-bit integers */ |
346 | 346 | ||
347 | typedef unsigned long long acpi_integer; | 347 | typedef unsigned long long acpi_integer; |
348 | #define ACPI_INTEGER_MAX ACPI_UINT64_MAX | 348 | #define ACPI_INTEGER_MAX ACPI_UINT64_MAX |
349 | #define ACPI_INTEGER_BIT_SIZE 64 | 349 | #define ACPI_INTEGER_BIT_SIZE 64 |
350 | #define ACPI_MAX_DECIMAL_DIGITS 20 /* 2^64 = 18,446,744,073,709,551,616 */ | 350 | #define ACPI_MAX_DECIMAL_DIGITS 20 /* 2^64 = 18,446,744,073,709,551,616 */ |
diff --git a/include/acpi/acutils.h b/include/acpi/acutils.h index 883ffe92148f..15a838862cd4 100644 --- a/include/acpi/acutils.h +++ b/include/acpi/acutils.h | |||
@@ -498,7 +498,8 @@ acpi_ut_display_init_pathname(u8 type, | |||
498 | acpi_status | 498 | acpi_status |
499 | acpi_ut_walk_aml_resources(u8 * aml, | 499 | acpi_ut_walk_aml_resources(u8 * aml, |
500 | acpi_size aml_length, | 500 | acpi_size aml_length, |
501 | acpi_walk_aml_callback user_function, void **context); | 501 | acpi_walk_aml_callback user_function, |
502 | void **context); | ||
502 | 503 | ||
503 | acpi_status acpi_ut_validate_resource(void *aml, u8 * return_index); | 504 | acpi_status acpi_ut_validate_resource(void *aml, u8 * return_index); |
504 | 505 | ||
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 5f532d2ac180..a568717f98c6 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
@@ -103,7 +103,10 @@ | |||
103 | 103 | ||
104 | #define acpi_thread_id struct task_struct * | 104 | #define acpi_thread_id struct task_struct * |
105 | 105 | ||
106 | static inline acpi_thread_id acpi_os_get_thread_id(void) { return current; } | 106 | static inline acpi_thread_id acpi_os_get_thread_id(void) |
107 | { | ||
108 | return current; | ||
109 | } | ||
107 | 110 | ||
108 | /* | 111 | /* |
109 | * The irqs_disabled() check is for resume from RAM. | 112 | * The irqs_disabled() check is for resume from RAM. |
@@ -112,15 +115,19 @@ static inline acpi_thread_id acpi_os_get_thread_id(void) { return current; } | |||
112 | * to quiet __might_sleep() in kmalloc() and resume does not. | 115 | * to quiet __might_sleep() in kmalloc() and resume does not. |
113 | */ | 116 | */ |
114 | #include <acpi/actypes.h> | 117 | #include <acpi/actypes.h> |
115 | static inline void *acpi_os_allocate(acpi_size size) { | 118 | static inline void *acpi_os_allocate(acpi_size size) |
116 | return kmalloc(size, irqs_disabled() ? GFP_ATOMIC : GFP_KERNEL); | 119 | { |
120 | return kmalloc(size, irqs_disabled()? GFP_ATOMIC : GFP_KERNEL); | ||
117 | } | 121 | } |
118 | static inline void *acpi_os_allocate_zeroed(acpi_size size) { | 122 | static inline void *acpi_os_allocate_zeroed(acpi_size size) |
119 | return kzalloc(size, irqs_disabled() ? GFP_ATOMIC : GFP_KERNEL); | 123 | { |
124 | return kzalloc(size, irqs_disabled()? GFP_ATOMIC : GFP_KERNEL); | ||
120 | } | 125 | } |
121 | 126 | ||
122 | static inline void *acpi_os_acquire_object(acpi_cache_t * cache) { | 127 | static inline void *acpi_os_acquire_object(acpi_cache_t * cache) |
123 | return kmem_cache_zalloc(cache, irqs_disabled() ? GFP_ATOMIC : GFP_KERNEL); | 128 | { |
129 | return kmem_cache_zalloc(cache, | ||
130 | irqs_disabled()? GFP_ATOMIC : GFP_KERNEL); | ||
124 | } | 131 | } |
125 | 132 | ||
126 | #define ACPI_ALLOCATE(a) acpi_os_allocate(a) | 133 | #define ACPI_ALLOCATE(a) acpi_os_allocate(a) |
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 916c0102db5b..b4b0ffdab098 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #define ACPI_PDC_REVISION_ID 0x1 | 19 | #define ACPI_PDC_REVISION_ID 0x1 |
20 | 20 | ||
21 | #define ACPI_PSD_REV0_REVISION 0 /* Support for _PSD as in ACPI 3.0 */ | 21 | #define ACPI_PSD_REV0_REVISION 0 /* Support for _PSD as in ACPI 3.0 */ |
22 | #define ACPI_PSD_REV0_ENTRIES 5 | 22 | #define ACPI_PSD_REV0_ENTRIES 5 |
23 | 23 | ||
24 | /* | 24 | /* |
@@ -189,8 +189,9 @@ struct acpi_processor_errata { | |||
189 | } piix4; | 189 | } piix4; |
190 | }; | 190 | }; |
191 | 191 | ||
192 | extern int acpi_processor_preregister_performance( | 192 | extern int acpi_processor_preregister_performance(struct |
193 | struct acpi_processor_performance **performance); | 193 | acpi_processor_performance |
194 | **performance); | ||
194 | 195 | ||
195 | extern int acpi_processor_register_performance(struct acpi_processor_performance | 196 | extern int acpi_processor_register_performance(struct acpi_processor_performance |
196 | *performance, unsigned int cpu); | 197 | *performance, unsigned int cpu); |
@@ -213,7 +214,8 @@ void arch_acpi_processor_init_pdc(struct acpi_processor *pr); | |||
213 | void acpi_processor_power_init_bm_check(struct acpi_processor_flags *flags, | 214 | void acpi_processor_power_init_bm_check(struct acpi_processor_flags *flags, |
214 | unsigned int cpu); | 215 | unsigned int cpu); |
215 | int acpi_processor_ffh_cstate_probe(unsigned int cpu, | 216 | int acpi_processor_ffh_cstate_probe(unsigned int cpu, |
216 | struct acpi_processor_cx *cx, struct acpi_power_register *reg); | 217 | struct acpi_processor_cx *cx, |
218 | struct acpi_power_register *reg); | ||
217 | void acpi_processor_ffh_cstate_enter(struct acpi_processor_cx *cstate); | 219 | void acpi_processor_ffh_cstate_enter(struct acpi_processor_cx *cstate); |
218 | #else | 220 | #else |
219 | static inline void acpi_processor_power_init_bm_check(struct | 221 | static inline void acpi_processor_power_init_bm_check(struct |
@@ -224,12 +226,14 @@ static inline void acpi_processor_power_init_bm_check(struct | |||
224 | return; | 226 | return; |
225 | } | 227 | } |
226 | static inline int acpi_processor_ffh_cstate_probe(unsigned int cpu, | 228 | static inline int acpi_processor_ffh_cstate_probe(unsigned int cpu, |
227 | struct acpi_processor_cx *cx, struct acpi_power_register *reg) | 229 | struct acpi_processor_cx *cx, |
230 | struct acpi_power_register | ||
231 | *reg) | ||
228 | { | 232 | { |
229 | return -1; | 233 | return -1; |
230 | } | 234 | } |
231 | static inline void acpi_processor_ffh_cstate_enter( | 235 | static inline void acpi_processor_ffh_cstate_enter(struct acpi_processor_cx |
232 | struct acpi_processor_cx *cstate) | 236 | *cstate) |
233 | { | 237 | { |
234 | return; | 238 | return; |
235 | } | 239 | } |