summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-04-07 16:32:43 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-04-08 19:55:40 +0200
commitf5d9ab1d803456f5215f853e9286659933b59afe (patch)
tree910d7eebac17a7d08b6e7b9dab340e1f3b5d92fb /tools/perf/scripts/python/stackcollapse.py
parentf926e94338158a5f84cbe4b0c7a9438c303762f8 (diff)
ACPI: scan: Drop sta argument from acpi_init_device_object()
Use the observation that the initial status check for ACPI_BUS_TYPE_PROCESSOR objects can be carried out in the same way as for ACPI_BUS_TYPE_DEVICE objects and it is not necessary to fail acpi_add_single_object() if acpi_bus_get_status_handle() returns an error for a processor (its status can be set to 0 instead) to simplify acpi_add_single_object(). Accordingly, drop the "sta" argument from acpi_init_device_object() as it can always set the initial status to ACPI_STA_DEFAULT and let its caller correct that later on. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions