diff options
author | MyungJoo Ham <[email protected]> | 2010-11-26 23:07:48 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2010-12-24 15:02:40 +0100 |
commit | 5729c63a51f0f8a351e0f1dc7b3250ebac12c309 (patch) | |
tree | 739030dfbc26519ec7fd813d797f9865678df11d /tools/perf/scripts/python/sched-migration.py | |
parent | 8cfe400ca54fd1ed96f962bea5f7e20b09b6d69f (diff) |
PM / Hibernate: hibernation_ops->leave should be checked too
Because hibernate calls hibernation_ops->leave() without checking
whether hibernation_ops->leave is NULL or not, hiberantion_set_ops
should WARN_ON if hibernation_ops->leave is NULL.
This patch added one more condition to check hibernation_ops->leave.
Signed-off-by: MyungJoo Ham <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions