Skip to content

Commit

Permalink
[IA64] Fix using uninitialized data in _PDC setup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Venki Pallipadi authored and Tony Luck committed May 24, 2007
1 parent d86ebd1 commit ce45b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ia64/kernel/acpi-processor.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ce45b51

Please sign in to comment.