drm/nouveau/therm: use workqueue to shutdown the machine
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 3 Feb 2013 18:28:14 +0000 (19:28 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 20 Feb 2013 06:00:42 +0000 (16:00 +1000)
commit07df30435eecce98961dabbac16787969975a080
treeef214fe622088a431096b830912fa03f760e5428
parentd0a5191dcf5f37cf0942c4b65fa4a2c975631c0b
drm/nouveau/therm: use workqueue to shutdown the machine

orderly_poweroff cannot be called from atomic context.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Acked-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/therm/temp.c