lkml.org 
[lkml]   [2009]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 3/3] ACPI: processor: remove _PDC object list from struct acpi_processor
    From
    Date
    When we call _PDC, we get a handle to the processor, allocate the
    object list buffer as needed, and free it immediately after calling
    _PDC.

    There's no need to drag around this object list with us everywhere
    else, so let's just get rid of it.

    Signed-off-by: Alex Chiang <achiang@hp.com>
    ---

    include/acpi/processor.h | 2 --
    1 files changed, 0 insertions(+), 2 deletions(-)

    diff --git a/include/acpi/processor.h b/include/acpi/processor.h
    index 7cc433d..0ea5ef4 100644
    --- a/include/acpi/processor.h
    +++ b/include/acpi/processor.h
    @@ -224,8 +224,6 @@ struct acpi_processor {
    struct acpi_processor_throttling throttling;
    struct acpi_processor_limit limit;
    struct thermal_cooling_device *cdev;
    - /* the _PDC objects for this processor, if any */
    - struct acpi_object_list *pdc;
    };

    struct acpi_processor_errata {


    \
     
     \ /
      Last update: 2009-12-20 20:27    [W:0.022 / U:0.156 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site