diff options
-rw-r--r-- | drivers/acpi/acpi_processor.c | 2 | ||||
-rw-r--r-- | drivers/acpi/processor_core.c | 8 | ||||
-rw-r--r-- | drivers/acpi/processor_driver.c | 8 | ||||
-rw-r--r-- | drivers/acpi/processor_idle.c | 6 |
4 files changed, 11 insertions, 13 deletions
diff --git a/drivers/acpi/acpi_processor.c b/drivers/acpi/acpi_processor.c index e9b01e35ac37..fd6c51cc3acb 100644 --- a/drivers/acpi/acpi_processor.c +++ b/drivers/acpi/acpi_processor.c | |||
@@ -340,7 +340,7 @@ static int acpi_processor_get_info(struct acpi_device *device) | |||
340 | */ | 340 | */ |
341 | static DEFINE_PER_CPU(void *, processor_device_array); | 341 | static DEFINE_PER_CPU(void *, processor_device_array); |
342 | 342 | ||
343 | static int __cpuinit acpi_processor_add(struct acpi_device *device, | 343 | static int acpi_processor_add(struct acpi_device *device, |
344 | const struct acpi_device_id *id) | 344 | const struct acpi_device_id *id) |
345 | { | 345 | { |
346 | struct acpi_processor *pr; | 346 | struct acpi_processor *pr; |
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index 164d49569aeb..a5e9f4a5b281 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c | |||
@@ -253,7 +253,7 @@ static bool __init processor_physically_present(acpi_handle handle) | |||
253 | return true; | 253 | return true; |
254 | } | 254 | } |
255 | 255 | ||
256 | static void __cpuinit acpi_set_pdc_bits(u32 *buf) | 256 | static void acpi_set_pdc_bits(u32 *buf) |
257 | { | 257 | { |
258 | buf[0] = ACPI_PDC_REVISION_ID; | 258 | buf[0] = ACPI_PDC_REVISION_ID; |
259 | buf[1] = 1; | 259 | buf[1] = 1; |
@@ -265,7 +265,7 @@ static void __cpuinit acpi_set_pdc_bits(u32 *buf) | |||
265 | arch_acpi_set_pdc_bits(buf); | 265 | arch_acpi_set_pdc_bits(buf); |
266 | } | 266 | } |
267 | 267 | ||
268 | static struct acpi_object_list *__cpuinit acpi_processor_alloc_pdc(void) | 268 | static struct acpi_object_list *acpi_processor_alloc_pdc(void) |
269 | { | 269 | { |
270 | struct acpi_object_list *obj_list; | 270 | struct acpi_object_list *obj_list; |
271 | union acpi_object *obj; | 271 | union acpi_object *obj; |
@@ -308,7 +308,7 @@ static struct acpi_object_list *__cpuinit acpi_processor_alloc_pdc(void) | |||
308 | * _PDC is required for a BIOS-OS handshake for most of the newer | 308 | * _PDC is required for a BIOS-OS handshake for most of the newer |
309 | * ACPI processor features. | 309 | * ACPI processor features. |
310 | */ | 310 | */ |
311 | static int __cpuinit | 311 | static int |
312 | acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in) | 312 | acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in) |
313 | { | 313 | { |
314 | acpi_status status = AE_OK; | 314 | acpi_status status = AE_OK; |
@@ -336,7 +336,7 @@ acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in) | |||
336 | return status; | 336 | return status; |
337 | } | 337 | } |
338 | 338 | ||
339 | void __cpuinit acpi_processor_set_pdc(acpi_handle handle) | 339 | void acpi_processor_set_pdc(acpi_handle handle) |
340 | { | 340 | { |
341 | struct acpi_object_list *obj_list; | 341 | struct acpi_object_list *obj_list; |
342 | 342 | ||
diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c index 823be116619e..870eaf5fa547 100644 --- a/drivers/acpi/processor_driver.c +++ b/drivers/acpi/processor_driver.c | |||
@@ -118,9 +118,9 @@ static void acpi_processor_notify(acpi_handle handle, u32 event, void *data) | |||
118 | return; | 118 | return; |
119 | } | 119 | } |
120 | 120 | ||
121 | static __cpuinit int __acpi_processor_start(struct acpi_device *device); | 121 | static int __acpi_processor_start(struct acpi_device *device); |
122 | 122 | ||
123 | static int __cpuinit acpi_cpu_soft_notify(struct notifier_block *nfb, | 123 | static int acpi_cpu_soft_notify(struct notifier_block *nfb, |
124 | unsigned long action, void *hcpu) | 124 | unsigned long action, void *hcpu) |
125 | { | 125 | { |
126 | unsigned int cpu = (unsigned long)hcpu; | 126 | unsigned int cpu = (unsigned long)hcpu; |
@@ -162,7 +162,7 @@ static struct notifier_block __refdata acpi_cpu_notifier = | |||
162 | .notifier_call = acpi_cpu_soft_notify, | 162 | .notifier_call = acpi_cpu_soft_notify, |
163 | }; | 163 | }; |
164 | 164 | ||
165 | static __cpuinit int __acpi_processor_start(struct acpi_device *device) | 165 | static int __acpi_processor_start(struct acpi_device *device) |
166 | { | 166 | { |
167 | struct acpi_processor *pr = acpi_driver_data(device); | 167 | struct acpi_processor *pr = acpi_driver_data(device); |
168 | acpi_status status; | 168 | acpi_status status; |
@@ -226,7 +226,7 @@ static __cpuinit int __acpi_processor_start(struct acpi_device *device) | |||
226 | return result; | 226 | return result; |
227 | } | 227 | } |
228 | 228 | ||
229 | static int __cpuinit acpi_processor_start(struct device *dev) | 229 | static int acpi_processor_start(struct device *dev) |
230 | { | 230 | { |
231 | struct acpi_device *device; | 231 | struct acpi_device *device; |
232 | 232 | ||
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 0461ccc92c54..f98dd00b51a9 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c | |||
@@ -96,9 +96,7 @@ static int set_max_cstate(const struct dmi_system_id *id) | |||
96 | return 0; | 96 | return 0; |
97 | } | 97 | } |
98 | 98 | ||
99 | /* Actually this shouldn't be __cpuinitdata, would be better to fix the | 99 | static struct dmi_system_id processor_power_dmi_table[] = { |
100 | callers to only run once -AK */ | ||
101 | static struct dmi_system_id __cpuinitdata processor_power_dmi_table[] = { | ||
102 | { set_max_cstate, "Clevo 5600D", { | 100 | { set_max_cstate, "Clevo 5600D", { |
103 | DMI_MATCH(DMI_BIOS_VENDOR,"Phoenix Technologies LTD"), | 101 | DMI_MATCH(DMI_BIOS_VENDOR,"Phoenix Technologies LTD"), |
104 | DMI_MATCH(DMI_BIOS_VERSION,"SHE845M0.86C.0013.D.0302131307")}, | 102 | DMI_MATCH(DMI_BIOS_VERSION,"SHE845M0.86C.0013.D.0302131307")}, |
@@ -1165,7 +1163,7 @@ int acpi_processor_cst_has_changed(struct acpi_processor *pr) | |||
1165 | 1163 | ||
1166 | static int acpi_processor_registered; | 1164 | static int acpi_processor_registered; |
1167 | 1165 | ||
1168 | int __cpuinit acpi_processor_power_init(struct acpi_processor *pr) | 1166 | int acpi_processor_power_init(struct acpi_processor *pr) |
1169 | { | 1167 | { |
1170 | acpi_status status = 0; | 1168 | acpi_status status = 0; |
1171 | int retval; | 1169 | int retval; |