diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-30 13:33:48 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-30 13:33:48 -0400 |
commit | 15dd859cacf312f606f54502d1f66537a1e5c78c (patch) | |
tree | e50e125eaa6da83fa715704e53c1bde013d1ef8e /drivers/firmware/dcdbas.c | |
parent | b2d9d33412b9d13a40cd314d93ab517950fc5950 (diff) | |
parent | 6e86841d05f371b5b9b86ce76c02aaee83352298 (diff) |
Merge commit 'v2.6.27-rc1' into x86/core
Conflicts:
include/asm-x86/dma-mapping.h
include/asm-x86/namei.h
include/asm-x86/uaccess.h
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/firmware/dcdbas.c')
-rw-r--r-- | drivers/firmware/dcdbas.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/firmware/dcdbas.c b/drivers/firmware/dcdbas.c index c66817e7717..50a071f1c94 100644 --- a/drivers/firmware/dcdbas.c +++ b/drivers/firmware/dcdbas.c | |||
@@ -245,7 +245,6 @@ static ssize_t host_control_on_shutdown_store(struct device *dev, | |||
245 | static int smi_request(struct smi_cmd *smi_cmd) | 245 | static int smi_request(struct smi_cmd *smi_cmd) |
246 | { | 246 | { |
247 | cpumask_t old_mask; | 247 | cpumask_t old_mask; |
248 | cpumask_of_cpu_ptr(new_mask, 0); | ||
249 | int ret = 0; | 248 | int ret = 0; |
250 | 249 | ||
251 | if (smi_cmd->magic != SMI_CMD_MAGIC) { | 250 | if (smi_cmd->magic != SMI_CMD_MAGIC) { |
@@ -256,7 +255,7 @@ static int smi_request(struct smi_cmd *smi_cmd) | |||
256 | 255 | ||
257 | /* SMI requires CPU 0 */ | 256 | /* SMI requires CPU 0 */ |
258 | old_mask = current->cpus_allowed; | 257 | old_mask = current->cpus_allowed; |
259 | set_cpus_allowed_ptr(current, new_mask); | 258 | set_cpus_allowed_ptr(current, &cpumask_of_cpu(0)); |
260 | if (smp_processor_id() != 0) { | 259 | if (smp_processor_id() != 0) { |
261 | dev_dbg(&dcdbas_pdev->dev, "%s: failed to get CPU 0\n", | 260 | dev_dbg(&dcdbas_pdev->dev, "%s: failed to get CPU 0\n", |
262 | __func__); | 261 | __func__); |