Revert "8250: Fix tcsetattr to avoid ioctl(TIOCMIWAIT) hang"
authorIngo Molnar <mingo@elte.hu>
Sat, 13 Nov 2010 15:21:58 +0000 (16:21 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Nov 2010 17:59:19 +0000 (09:59 -0800)
commitf8b372a11cc102b9a0dcc6ac2bd10f0b6b2755a9
tree1059e211139ab2e297fba8258037e5a268a70f8d
parentc0caf7bcbfedb3f79ccec759b221bfef0646ada3
Revert "8250: Fix tcsetattr to avoid ioctl(TIOCMIWAIT) hang"

This reverts commit 47d3904fe40d62deee8cd46e79ca784e7a548acd.

Crashes any x86 serial console bootup:

  Console: colour VGA+ 80x25
  BUG: unable to handle kernel NULL pointer dereference at 0000000000000158
  IP: [<ffffffff811ebcb4>] serial8250_do_set_termios+0x1d4/0x430
  ...

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Greg KH <gregkh@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/8250.c