[PATCH] x86: use probe_kernel_address in handle_BUG()
authorAndrew Morton <akpm@osdl.org>
Wed, 27 Sep 2006 08:51:15 +0000 (01:51 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Sep 2006 15:26:20 +0000 (08:26 -0700)
commit1e2af92e089d4c845248844a3e7ee06ce889af46
treef5c995fa5b56cc3f7be030efe5ced10f0cbc70f9
parent1b79e5513d52e8533a08af35a3595dad80c74d1f
[PATCH] x86: use probe_kernel_address in handle_BUG()

Avoid possible deadlock on a BUG() inside down_write(mmap_sem).  The deadlock
can only occur if something has gone horridly wrong, because a fault here
shouldn't happen.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/traps.c