diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-03-23 06:00:54 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 10:38:16 -0500 |
commit | 91368d73e4b60d577ad171e5bd315b564265fcdb (patch) | |
tree | 067d3738aa4bf8d49623632bb47952aca6f8f965 /arch/i386/mm | |
parent | 3257545e40a769cbef98cf13eabe50f00712991e (diff) |
[PATCH] make bug messages more consistent
Consolidate all kernel bug printouts to begin with the "BUG: " string.
Makes it easier to find them in large bootup logs.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/mm')
-rw-r--r-- | arch/i386/mm/fault.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/mm/fault.c b/arch/i386/mm/fault.c index bbb24af5d860..47a3b72ec7b6 100644 --- a/arch/i386/mm/fault.c +++ b/arch/i386/mm/fault.c | |||
@@ -518,9 +518,9 @@ no_context: | |||
518 | } | 518 | } |
519 | #endif | 519 | #endif |
520 | if (address < PAGE_SIZE) | 520 | if (address < PAGE_SIZE) |
521 | printk(KERN_ALERT "Unable to handle kernel NULL pointer dereference"); | 521 | printk(KERN_ALERT "BUG: unable to handle kernel NULL pointer dereference"); |
522 | else | 522 | else |
523 | printk(KERN_ALERT "Unable to handle kernel paging request"); | 523 | printk(KERN_ALERT "BUG: unable to handle kernel paging request"); |
524 | printk(" at virtual address %08lx\n",address); | 524 | printk(" at virtual address %08lx\n",address); |
525 | printk(KERN_ALERT " printing eip:\n"); | 525 | printk(KERN_ALERT " printing eip:\n"); |
526 | printk("%08lx\n", regs->eip); | 526 | printk("%08lx\n", regs->eip); |