diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-29 11:54:24 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-29 11:54:24 +0200 |
commit | 3825c9e8d01e4310c40a3903a354c433c32a7b6f (patch) | |
tree | 87c94a8076bbb38bd2cf20ab9bc23d6f74f6a0a8 /arch/x86/kernel/microcode_amd.c | |
parent | 5d7b605245b1aa1a9cd6549b1f57d69273eb0c37 (diff) | |
parent | 6e86841d05f371b5b9b86ce76c02aaee83352298 (diff) | |
download | kernel_samsung_smdk4412-3825c9e8d01e4310c40a3903a354c433c32a7b6f.zip kernel_samsung_smdk4412-3825c9e8d01e4310c40a3903a354c433c32a7b6f.tar.gz kernel_samsung_smdk4412-3825c9e8d01e4310c40a3903a354c433c32a7b6f.tar.bz2 |
Merge commit 'v2.6.27-rc1' into x86/microcode
Conflicts:
arch/x86/kernel/microcode.c
Manual resolutions:
arch/x86/kernel/microcode_amd.c
arch/x86/kernel/microcode_intel.c
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/microcode_amd.c')
-rw-r--r-- | arch/x86/kernel/microcode_amd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/microcode_amd.c b/arch/x86/kernel/microcode_amd.c index fd9e68e..07e52be 100644 --- a/arch/x86/kernel/microcode_amd.c +++ b/arch/x86/kernel/microcode_amd.c @@ -445,7 +445,6 @@ static int apply_microcode_check_cpu_amd(int cpu) struct ucode_cpu_info *uci = ucode_cpu_info + cpu; unsigned int rev; cpumask_t old; - cpumask_of_cpu_ptr(newmask, cpu); int err = 0; /* Check if the microcode is available */ @@ -453,7 +452,7 @@ static int apply_microcode_check_cpu_amd(int cpu) return 0; old = current->cpus_allowed; - set_cpus_allowed(current, newmask); + set_cpus_allowed_ptr(current, &cpumask_of_cpu(cpu)); /* Check if the microcode we have in memory matches the CPU */ if (c->x86_vendor != X86_VENDOR_AMD || c->x86 < 16) |