]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/mmap.c: use pr_emerg when printing BUG related information
authorSasha Levin <sasha.levin@oracle.com>
Tue, 9 Sep 2014 21:50:59 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <sasha.levin@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c