]> git.hungrycats.org Git - linux/commit
[PATCH] make bad_page() print all of page->flags
authorWilliam Lee Irwin III <wli@holomorphy.com>
Fri, 3 Sep 2004 03:29:04 +0000 (20:29 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 3 Sep 2004 03:29:04 +0000 (20:29 -0700)
commit6264daec8d1c066b8876cb8d8724a041b92fa151
tree94c1b5b319e162adcb812d0f84e0efdf6c123039
parente91b5c70e36725f13b2a0b522551bf036ce85b0f
[PATCH] make bad_page() print all of page->flags

bad_page() only prints out 8 hexadecimal digits of page->flags regardless
of sizeof(page_flags_t).  This leads to confusing and/or incomplete bug
reports.  The following patch uses a field width argument to replace the
hardcoded %08lx so that bad_page() may print the whole of page->flags.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/page_alloc.c