drm/i915: avoid non-atomic sysrq execution
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 15 May 2009 21:11:48 +0000 (14:11 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 5 Jun 2009 14:22:33 +0000 (14:22 +0000)
The sysrq functions are executed in hardirq context, so we shouldn't be
calling sleeping functions from them, like mutex_locks or memory
allocations.

Fix up the i915 sysrq handler to avoid this.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>

No differences found