diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2015-01-26 02:10:08 -0800 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-01-26 10:21:26 +0000 |
commit | 57b6b99bac045bece3b3892377e863b571314950 (patch) | |
tree | 3ed7173d62f4f6b3f1fc3168ce43e391886ef37d /security | |
parent | 144c61ad355a4f31a45a2cd91c808020c4322374 (diff) | |
download | linux-stable-57b6b99bac045bece3b3892377e863b571314950.tar.gz linux-stable-57b6b99bac045bece3b3892377e863b571314950.tar.bz2 linux-stable-57b6b99bac045bece3b3892377e863b571314950.zip |
x86,xen: use current->state helpers
Call __set_current_state() instead of assigning the new state directly.
These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments,
keeping track of who changed the state.
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions