• Alex Chiang's avatar
    ACPI: processor: unify arch_acpi_processor_init_pdc · 407cd87c
    Alex Chiang authored
    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: default avatarAlex Chiang <achiang@hp.com>
    Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    407cd87c
processor.c 1.49 KB