aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/processor_core.c')
-rw-r--r--drivers/acpi/processor_core.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c
index 3c1a2fec8cda..ac77dde39199 100644
--- a/drivers/acpi/processor_core.c
+++ b/drivers/acpi/processor_core.c
@@ -19,7 +19,7 @@
19#define _COMPONENT ACPI_PROCESSOR_COMPONENT 19#define _COMPONENT ACPI_PROCESSOR_COMPONENT
20ACPI_MODULE_NAME("processor_core"); 20ACPI_MODULE_NAME("processor_core");
21 21
22static int set_no_mwait(const struct dmi_system_id *id) 22static int __init set_no_mwait(const struct dmi_system_id *id)
23{ 23{
24 printk(KERN_NOTICE PREFIX "%s detected - " 24 printk(KERN_NOTICE PREFIX "%s detected - "
25 "disabling mwait for CPU C-states\n", id->ident); 25 "disabling mwait for CPU C-states\n", id->ident);
@@ -27,7 +27,7 @@ static int set_no_mwait(const struct dmi_system_id *id)
27 return 0; 27 return 0;
28} 28}
29 29
30static struct dmi_system_id __cpuinitdata processor_idle_dmi_table[] = { 30static struct dmi_system_id __initdata processor_idle_dmi_table[] = {
31 { 31 {
32 set_no_mwait, "Extensa 5220", { 32 set_no_mwait, "Extensa 5220", {
33 DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies LTD"), 33 DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies LTD"),
@@ -183,7 +183,7 @@ int acpi_get_cpuid(acpi_handle handle, int type, u32 acpi_id)
183EXPORT_SYMBOL_GPL(acpi_get_cpuid); 183EXPORT_SYMBOL_GPL(acpi_get_cpuid);
184#endif 184#endif
185 185
186static bool processor_physically_present(acpi_handle handle) 186static bool __init processor_physically_present(acpi_handle handle)
187{ 187{
188 int cpuid, type; 188 int cpuid, type;
189 u32 acpi_id; 189 u32 acpi_id;
@@ -323,9 +323,8 @@ void acpi_processor_set_pdc(acpi_handle handle)
323 kfree(obj_list->pointer); 323 kfree(obj_list->pointer);
324 kfree(obj_list); 324 kfree(obj_list);
325} 325}
326EXPORT_SYMBOL_GPL(acpi_processor_set_pdc);
327 326
328static acpi_status 327static acpi_status __init
329early_init_pdc(acpi_handle handle, u32 lvl, void *context, void **rv) 328early_init_pdc(acpi_handle handle, u32 lvl, void *context, void **rv)
330{ 329{
331 if (processor_physically_present(handle) == false) 330 if (processor_physically_present(handle) == false)