diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2015-01-26 11:10:08 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-01-26 11:21:26 +0100 |
commit | 57b6b99bac045bece3b3892377e863b571314950 (patch) | |
tree | 3ed7173d62f4f6b3f1fc3168ce43e391886ef37d /arch/x86/xen/setup.c | |
parent | xen/tmem: mark xen_tmem_init() __init (diff) | |
download | linux-57b6b99bac045bece3b3892377e863b571314950.tar.xz linux-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 'arch/x86/xen/setup.c')
0 files changed, 0 insertions, 0 deletions