summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/acpi/processor.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-27 22:18:55 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-27 22:18:55 -0700
commit6e1b97d899401035dd9d02b0fd93ad54641f867a (patch)
treef98006592293d38b25a30ab08c3ae88601ac76c1 /arch/x86/kernel/acpi/processor.c
parent36ea96a485ce09a88819896e48468d6469c292ab (diff)
parent69243f91257083795065762ce805120b980e256b (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86
* git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86: x86: Dump filtering supports x86_64 sparsemem x86: fix compiler warnings in arch/x86/kernel/early-quirks.c x86: fix !SMP compiler warning in arch/x86/kernel/acpi/processor.c x86: Fix boot protocol KEEP_SEGMENTS check. x86: voyager: fix bogus conversion to per_cpu for boot_cpu_info x86: export smp_ops to allow modular build of KVM Revert "i386: export i386 smp_call_function_mask() to modules"
Diffstat (limited to 'arch/x86/kernel/acpi/processor.c')
-rw-r--r--arch/x86/kernel/acpi/processor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/acpi/processor.c b/arch/x86/kernel/acpi/processor.c
index 2ed0a4ce62f0..f63e5ff0aca1 100644
--- a/arch/x86/kernel/acpi/processor.c
+++ b/arch/x86/kernel/acpi/processor.c
@@ -62,8 +62,7 @@ static void init_intel_pdc(struct acpi_processor *pr, struct cpuinfo_x86 *c)
/* Initialize _PDC data based on the CPU vendor */
void arch_acpi_processor_init_pdc(struct acpi_processor *pr)
{
- unsigned int cpu = pr->id;
- struct cpuinfo_x86 *c = &cpu_data(cpu);
+ struct cpuinfo_x86 *c = &cpu_data(pr->id);
pr->pdc = NULL;
if (c->x86_vendor == X86_VENDOR_INTEL)