diff options
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/dcdbas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firmware/dcdbas.c b/drivers/firmware/dcdbas.c index d8822eedba65..f235940719e7 100644 --- a/drivers/firmware/dcdbas.c +++ b/drivers/firmware/dcdbas.c | |||
@@ -264,7 +264,7 @@ static int smi_request(struct smi_cmd *smi_cmd) | |||
264 | 264 | ||
265 | /* SMI requires CPU 0 */ | 265 | /* SMI requires CPU 0 */ |
266 | old_mask = current->cpus_allowed; | 266 | old_mask = current->cpus_allowed; |
267 | set_cpus_allowed(current, cpumask_of_cpu(0)); | 267 | set_cpus_allowed_ptr(current, &cpumask_of_cpu(0)); |
268 | if (smp_processor_id() != 0) { | 268 | if (smp_processor_id() != 0) { |
269 | dev_dbg(&dcdbas_pdev->dev, "%s: failed to get CPU 0\n", | 269 | dev_dbg(&dcdbas_pdev->dev, "%s: failed to get CPU 0\n", |
270 | __FUNCTION__); | 270 | __FUNCTION__); |
@@ -284,7 +284,7 @@ static int smi_request(struct smi_cmd *smi_cmd) | |||
284 | ); | 284 | ); |
285 | 285 | ||
286 | out: | 286 | out: |
287 | set_cpus_allowed(current, old_mask); | 287 | set_cpus_allowed_ptr(current, &old_mask); |
288 | return ret; | 288 | return ret; |
289 | } | 289 | } |
290 | 290 | ||