bootmem: print request details before BUG_ON(them)
authorJohannes Weiner <hannes@cmpxchg.org>
Tue, 6 Jan 2009 22:40:32 +0000 (14:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:10 +0000 (15:59 -0800)
commit594fe1a044325bb0a1a49ca7d086e3df4f1df59a
treedb3ed12346af4357d154637baad4fb224fbde639
parentdcd4a049b9751828c516c59709f3fdf50436df85
bootmem: print request details before BUG_ON(them)

Moving the request details print-out before the sanity checks that
might panic() enables us to analyse invalid requests without having
access to the line information of the stack dump.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/bootmem.c