Fix using uninitialized data in _PDC setup
PATCH 1/1 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. This should probably make into stable kernel as well.
Signed-off-by Venkatesh Pallipadi <[email protected]>
Index: linux-2.6.22-rc-mm/arch/ia64/kernel/acpi-processor.c
=================================--- linux-2.6.22-rc-mm.orig/arch/ia64/kernel/acpi-processor.c 2007-04-25 20:08:32.000000000 -0700
+++ linux-2.6.22-rc-mm/arch/ia64/kernel/acpi-processor.c 2007-05-22 13:40:17.000000000 -0700
@@ -44,7 +44,7 @@
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;