• Alex Chiang's avatar
    ACPI: processor: change acpi_processor_set_pdc() interface · 43bab25c
    Alex Chiang authored
    When calling _PDC, we really only need the handle to the processor
    to call the method; we don't look at any other parts of the
    struct acpi_processor * given to us.
    
    In the early path, when we walk the namespace, we are given the
    handle directly, so just pass it through to acpi_processor_set_pdc()
    without stuffing it into a wasteful struct acpi_processor allocated
    on the stack each time
    
    This saves 2834 bytes of stack.
    
    Update the interface accordingly.
    Signed-off-by: default avatarAlex Chiang <achiang@hp.com>
    Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    43bab25c
processor_core.c 28.5 KB