diff options
author | Jan Beulich <JBeulich@novell.com> | 2011-02-17 11:36:24 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-03-02 20:58:20 -0500 |
commit | af10f941ab7807d8b0bb3c66e679d8a6bbbe7485 (patch) | |
tree | 511903623315fafbcf1494aa39f2ff1b6fc8b9d1 /drivers/acpi | |
parent | 6430c9c12a7dbb8f60f0d8294b73b3c0bb03f64f (diff) |
ACPI: use __cpuinit for the acpi_processor_set_pdc() call tree
Once acpi_map_lsapic() in ia64 follows how x86 treats it wrt section
placement, the whole tree from acpi_processor_set_pdc() can become
__cpuinit.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/processor_core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index ac77dde39199..25bf17da69fd 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c | |||
@@ -223,7 +223,7 @@ static bool __init processor_physically_present(acpi_handle handle) | |||
223 | return true; | 223 | return true; |
224 | } | 224 | } |
225 | 225 | ||
226 | static void acpi_set_pdc_bits(u32 *buf) | 226 | static void __cpuinit acpi_set_pdc_bits(u32 *buf) |
227 | { | 227 | { |
228 | buf[0] = ACPI_PDC_REVISION_ID; | 228 | buf[0] = ACPI_PDC_REVISION_ID; |
229 | buf[1] = 1; | 229 | buf[1] = 1; |
@@ -235,7 +235,7 @@ static void acpi_set_pdc_bits(u32 *buf) | |||
235 | arch_acpi_set_pdc_bits(buf); | 235 | arch_acpi_set_pdc_bits(buf); |
236 | } | 236 | } |
237 | 237 | ||
238 | static struct acpi_object_list *acpi_processor_alloc_pdc(void) | 238 | static struct acpi_object_list *__cpuinit acpi_processor_alloc_pdc(void) |
239 | { | 239 | { |
240 | struct acpi_object_list *obj_list; | 240 | struct acpi_object_list *obj_list; |
241 | union acpi_object *obj; | 241 | union acpi_object *obj; |
@@ -278,7 +278,7 @@ static struct acpi_object_list *acpi_processor_alloc_pdc(void) | |||
278 | * _PDC is required for a BIOS-OS handshake for most of the newer | 278 | * _PDC is required for a BIOS-OS handshake for most of the newer |
279 | * ACPI processor features. | 279 | * ACPI processor features. |
280 | */ | 280 | */ |
281 | static int | 281 | static int __cpuinit |
282 | acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in) | 282 | acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in) |
283 | { | 283 | { |
284 | acpi_status status = AE_OK; | 284 | acpi_status status = AE_OK; |
@@ -306,7 +306,7 @@ acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in) | |||
306 | return status; | 306 | return status; |
307 | } | 307 | } |
308 | 308 | ||
309 | void acpi_processor_set_pdc(acpi_handle handle) | 309 | void __cpuinit acpi_processor_set_pdc(acpi_handle handle) |
310 | { | 310 | { |
311 | struct acpi_object_list *obj_list; | 311 | struct acpi_object_list *obj_list; |
312 | 312 | ||