]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
8250: Fix lock warning (and possible crash)
authorAlan Cox <alan@redhat.com>
Tue, 14 Oct 2008 10:29:06 +0000 (11:29 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2008 17:03:33 +0000 (10:03 -0700)
commit4aba41ea8bdc1b475861f5e5c1649ab20251090c
tree3a39612ac27c742d4999f1c411ee23a9eedde71f
parent7591103c08abade60aeddb432ed0686ddd0de1c6
8250: Fix lock warning (and possible crash)

Splitting the 8250 code back up to avoid a clash with the NR_IRQS removal
patch introduced a last minute bug. Put back the additional needed lines
for the old lock init

Signed-off-by: Alan Cox <alan@redhat.com>
[ Ingo also reports that this can cause a spontaneous reboot crash with
  certain configs, and sends in an identical patch ]
Tested-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/8250.c