m68k/mm: Check for mm != NULL in do_page_fault() debug code
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 10 Dec 2013 10:35:47 +0000 (11:35 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 30 Dec 2013 20:01:09 +0000 (21:01 +0100)
commit4e25c0e92f8eaf69bc51d1d523bcb7268e7dd162
tree55125e7e00544bfca2beafebcf31795be8279caf
parent9da4a8d9197e42d532f2e2af072d8219105139b2
m68k/mm: Check for mm != NULL in do_page_fault() debug code

When DEBUG is enabled, do_page_fault() may dereference a NULL pointer,
causing recursive bus errors.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/mm/fault.c