]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
uml: DEBUG_SHIRQ fixes
authorJeff Dike <jdike@addtoit.com>
Tue, 5 Feb 2008 06:31:19 +0000 (22:31 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:31 +0000 (09:44 -0800)
commit438ee6798cd8bfc44da725fca846367e19d86652
tree5bf5ccfeb363f4a4c7f8dfb10d24c1c9a2062b8a
parent83380cc1c9694a05bcdb7c95d293e99d3475d906
uml: DEBUG_SHIRQ fixes

A couple more DEBUG_SHIRQ fixes.

The previous mconsole blocking fix exposed the lack of O_NONBLOCK on the
mconsole socket.

Also, winch_interrupt started crashing because it is called at irq free time
and it tries to dereference tty->driver_data, which has already been set to
NULL.

I added some error cleanup in mconsole_init while I was there.

Cc: "Karol Swietlicki" <magotari@gmail.com>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/drivers/line.c
arch/um/drivers/mconsole_kern.c