From: Venki Pallipadi Date: Tue, 22 May 2007 22:35:24 +0000 (-0700) Subject: [IA64] Fix using uninitialized data in _PDC setup X-Git-Tag: v2.6.22-rc3~11^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ce45b51ac4c3c575c71ab5c91c29bf34c2af6f7d;p=linux-2.6-omap-h63xx.git [IA64] Fix using uninitialized data in _PDC setup Silly bug in _PDC data setup. Haven't seen any real side-effects of this one yet. But, needs fixing regardless. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Tony Luck --- diff --git a/arch/ia64/kernel/acpi-processor.c b/arch/ia64/kernel/acpi-processor.c index 4d4993a47e5..5a216c01992 100644 --- a/arch/ia64/kernel/acpi-processor.c +++ b/arch/ia64/kernel/acpi-processor.c @@ -44,7 +44,7 @@ static void init_intel_pdc(struct acpi_processor *pr) buf[0] = ACPI_PDC_REVISION_ID; buf[1] = 1; - buf[2] |= ACPI_PDC_EST_CAPABILITY_SMP; + buf[2] = ACPI_PDC_EST_CAPABILITY_SMP; obj->type = ACPI_TYPE_BUFFER; obj->buffer.length = 12;