diff options
| author | 2011-02-12 01:39:15 +0100 | |
|---|---|---|
| committer | 2011-02-12 01:39:15 +0100 | |
| commit | 2d55951368faa32ff098398c56780ebb6405a3d9 (patch) | |
| tree | 0e6290e8fa625c8c028ca06edb629549e6379240 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | Linux 2.6.38-rc4 (diff) | |
| download | linux-dev-2d55951368faa32ff098398c56780ebb6405a3d9.tar.xz linux-dev-2d55951368faa32ff098398c56780ebb6405a3d9.zip | |
ACPI / ACPICA: Avoid crashing if _PRW is defined for the root object
Some ACPI BIOSes define _PRW for the root object which causes
acpi_setup_gpe_for_wake() to crash when trying to dereference the
bogus device_node pointer. Avoid the crash by checking if
wake_device is not the root object before attempting to set up the
"implicit notify" mechanism for it.
The problem was introduced by commit bba63a296ffab20e08d9e8252d2f0d99
(ACPICA: Implicit notify support) that added the wake_device argument
to acpi_setup_gpe_for_wake().
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
