From: Kirill A. Shutemov Date: Wed, 4 Jun 2014 23:06:57 +0000 (-0700) Subject: thp: consolidate assert checks in __split_huge_page() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~16^2~216 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff9e43eb4f2eb78067d7b783cc893773b3e129b1;p=pandora-kernel.git thp: consolidate assert checks in __split_huge_page() It doesn't make sense to have two assert checks for each invariant: one for printing and one for BUG(). Let's trigger BUG() if we print error message. Signed-off-by: Kirill A. Shutemov Cc: Andrea Arcangeli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed