mm: hugetlb: fix clear_huge_page()
authorAndrea Arcangeli <aarcange@redhat.com>
Fri, 8 Jan 2010 22:43:05 +0000 (14:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 11 Jan 2010 17:34:06 +0000 (09:34 -0800)
commit74dbdd239bb1348ad86d28b18574d9c1f28b62ca
treed29d30ee9d4c3dd64d831fa9d042c76cba829b58
parentb5430a04e995081a308b4419bd0940f2badc6e6b
mm: hugetlb: fix clear_huge_page()

sz is in bytes, MAX_ORDER_NR_PAGES is in pages.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: David Gibson <dwg@au1.ibm.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: David Rientjes <rientjes@google.com>
Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c