From: Naoya Horiguchi Date: Fri, 10 Sep 2010 04:23:06 +0000 (+0900) Subject: hugetlb, rmap: add BUG_ON(!PageLocked) in hugetlb_add_anon_rmap() X-Git-Tag: v2.6.36-rc6~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a850ea30374ebed32a0724742601861853fde869;p=pandora-kernel.git hugetlb, rmap: add BUG_ON(!PageLocked) in hugetlb_add_anon_rmap() Confirming page lock is held in hugetlb_add_anon_rmap() may be useful to detect possible future problems. Signed-off-by: Naoya Horiguchi Acked-by: Rik van Riel Acked-by: Andrea Arcangeli Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed