x86,xen: use current->state helpers
authorDavidlohr Bueso <dave@stgolabs.net>
Mon, 26 Jan 2015 10:10:08 +0000 (02:10 -0800)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 26 Jan 2015 10:21:26 +0000 (10:21 +0000)
commit57b6b99bac045bece3b3892377e863b571314950
tree3ed7173d62f4f6b3f1fc3168ce43e391886ef37d
parent144c61ad355a4f31a45a2cd91c808020c4322374
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>
arch/x86/xen/smp.c