diff options
author | Hugh Dickins <hugh@veritas.com> | 2006-01-11 15:17:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 21:42:08 -0500 |
commit | 7365f3d169a1eae00e713c1a4eea90e86415dcc5 (patch) | |
tree | 2071690e80631e38a732657e5debb83b0eedc12a /mm/page_alloc.c | |
parent | 45ed344cc7b6456856b4ae5e3d81cdb18b98f8ad (diff) |
[PATCH] Restore KERN_EMERG to each line printed by bad_page
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 8e363536e2da..ce991b173aa9 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -137,9 +137,9 @@ static inline int bad_range(struct zone *zone, struct page *page) | |||
137 | static void bad_page(struct page *page) | 137 | static void bad_page(struct page *page) |
138 | { | 138 | { |
139 | printk(KERN_EMERG "Bad page state in process '%s'\n" | 139 | printk(KERN_EMERG "Bad page state in process '%s'\n" |
140 | "page:%p flags:0x%0*lx mapping:%p mapcount:%d count:%d\n" | 140 | KERN_EMERG "page:%p flags:0x%0*lx mapping:%p mapcount:%d count:%d\n" |
141 | "Trying to fix it up, but a reboot is needed\n" | 141 | KERN_EMERG "Trying to fix it up, but a reboot is needed\n" |
142 | "Backtrace:\n", | 142 | KERN_EMERG "Backtrace:\n", |
143 | current->comm, page, (int)(2*sizeof(unsigned long)), | 143 | current->comm, page, (int)(2*sizeof(unsigned long)), |
144 | (unsigned long)page->flags, page->mapping, | 144 | (unsigned long)page->flags, page->mapping, |
145 | page_mapcount(page), page_count(page)); | 145 | page_mapcount(page), page_count(page)); |