Browse Source

[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 <venkatesh.pallipadi@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Venki Pallipadi 18 years ago
parent
commit
ce45b51ac4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/ia64/kernel/acpi-processor.c

+ 1 - 1
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;