aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorVincent Guittot <[email protected]>2019-02-04 17:25:53 +0100
committerRafael J. Wysocki <[email protected]>2019-02-05 12:04:39 +0100
commitfed7e88c0702e30fcd55563ca6eecd548a5d13af (patch)
treefdf48e512e455ef7655c3632879befb400768f0c /lib/memory-notifier-error-inject.c
parentc155f6499f9797f200aa46eb3ccbf198f4206970 (diff)
PM-runtime: update time accounting only when enabled
Update the accounting_timestamp field only when PM runtime is enabled and don't forget to account the last state before disabling it. Suggested-by: Ulf Hansson <[email protected]> Signed-off-by: Vincent Guittot <[email protected]> Reviewed-by: Ulf Hansson <[email protected]> [ rjw: Minor cleanups ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions