ACPI: processor: unify arch_acpi_processor_init_pdc
authorAlex Chiang <achiang@hp.com>
Sun, 20 Dec 2009 19:19:19 +0000 (12:19 -0700)
committerLen Brown <len.brown@intel.com>
Tue, 22 Dec 2009 08:24:11 +0000 (03:24 -0500)
commit407cd87c54e76c266245e8faef8dd4a84b7254fe
treee07067c0d51317a4dc93144f1d16c050a0f5ca89
parent1d9cb470a755409ce97c3376174b1e234bd20371
ACPI: processor: unify arch_acpi_processor_init_pdc

The x86 and ia64 implementations of arch_acpi_processor_init_pdc()
are almost exactly the same. The only difference is in what bits
they set in obj_list buffer.

Combine the boilerplate memory management code, and leave the
arch-specific bit twiddling in separate implementations.

Cc: Tony Luck <tony.luck@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/ia64/kernel/acpi-processor.c
arch/x86/kernel/acpi/processor.c
drivers/acpi/processor_pdc.c