]> err.no Git - linux-2.6/commit
[PATCH] Do a single one-line printk in bad_page_fault()
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 7 Nov 2006 23:22:59 +0000 (10:22 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 13 Nov 2006 03:48:56 +0000 (14:48 +1100)
commita416dd8d9cd3a3fa77b9839e0e6fc3c54927d8c3
tree28f75e9810e1698b0aa4aab17deaa909ab1daa35
parent66a91e9c0ab62ea938afaba7352741d8c554a589
[PATCH] Do a single one-line printk in bad_page_fault()

bad_page_fault() prints a message telling the user what type of bad
fault we took. The first line of this message is currently implemented
as two separate printks. This has the unfortunate effect that if
several cpus simultaneously take a bad fault, the first and second parts
of the printk get jumbled up, which looks dodge and is hard to read.

So do a single one-line printk for each fault type.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/fault.c