Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce45b51a authored by Venki Pallipadi's avatar Venki Pallipadi Committed by Tony Luck
Browse files

[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: default avatarVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent d86ebd14
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;