ACPI: processor: finish unifying arch_acpi_processor_init_pdc()
authorAlex Chiang <achiang@hp.com>
Sun, 20 Dec 2009 19:19:29 +0000 (12:19 -0700)
committerLen Brown <len.brown@intel.com>
Tue, 22 Dec 2009 08:24:13 +0000 (03:24 -0500)
commit6c5807d7bc7d051fce00863ffb98d36325501eb2
treeeceda659786e5e6ff659fca0b0382ec52ea13871
parent08ea48a326d8030ef5b7fb02292faf5a53c95e0a
ACPI: processor: finish unifying arch_acpi_processor_init_pdc()

The only thing arch-specific about calling _PDC is what bits get
set in the input obj_list buffer.

There's no need for several levels of indirection to twiddle those
bits. Additionally, since we're just messing around with a buffer,
we can simplify the interface; no need to pass around the entire
struct acpi_processor * just to get at the buffer.

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/include/asm/acpi.h
arch/ia64/kernel/acpi-processor.c
arch/x86/include/asm/acpi.h
arch/x86/kernel/acpi/processor.c
drivers/acpi/processor_pdc.c
include/acpi/processor.h