aboutsummaryrefslogtreecommitdiff
path: root/mm/percpu-km.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2013-02-07 11:19:15 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-28 06:59:03 -0800
commitb701cf407f9508fb899b482d9224daba2cedec75 (patch)
tree2fd4bd61e5cba093b1bd76a5cf316b1a4c16234f /mm/percpu-km.c
parent746042cf26dbcf5a8feb4f8938a3531a6169c96e (diff)
drm/udl: make usage as a console safer
commit bcb39af4486be07e896fc374a2336bad3104ae0a upstream. Okay you don't really want to use udl devices as your console, but if you are unlucky enough to do so, you run into a lot of schedule while atomic due to printk being called from all sorts of funky places. So check if we are in an atomic context, and queue the damage for later, the next printk should cause it to appear. This isn't ideal, but it is simple, and seems to work okay in my testing here. (dirty area idea came from xenfb) fixes a bunch of sleeping while atomic issues running fbcon on udl devices. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/percpu-km.c')
0 files changed, 0 insertions, 0 deletions