[IA64] Fix using uninitialized data in _PDC setup
authorVenki Pallipadi <venkatesh.pallipadi@intel.com>
Tue, 22 May 2007 22:35:24 +0000 (15:35 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 24 May 2007 17:14:30 +0000 (10:14 -0700)
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 <venkatesh.pallipadi@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/acpi-processor.c

index 4d4993a..5a216c0 100644 (file)
@@ -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;