[PATCH] Fix using uninitialized data in _PDC setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <venkatesh.pallipadi@xxxxxxxxx>

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;
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux