mm/mmap.c: use pr_emerg when printing BUG related information
authorSasha Levin <[email protected]>
Tue, 9 Sep 2014 21:50:59 +0000 (14:50 -0700)
committerLinus Torvalds <[email protected]>
Wed, 10 Sep 2014 22:42:12 +0000 (15:42 -0700)
commit8542bdfc6632b55aa1cf4fa255283c878b662499
treef8739b15e1b366e6b7bc92aaa05f3eb020437b00
parentb01d072065b6f36550f486fe77f05b092225ba1b
mm/mmap.c: use pr_emerg when printing BUG related information

Make sure we actually see the output of validate_mm() and browse_rb()
before triggering a BUG().  pr_info isn't shown by default so the reason
for the BUG() isn't obvious.

Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/mmap.c