diff options
author | Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> | 2010-09-10 06:23:06 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-09-24 02:29:19 +0200 |
commit | a850ea30374ebed32a0724742601861853fde869 (patch) | |
tree | 436dda49aae61ac7c228a7fadb53fd0632666827 /drivers/cpufreq | |
parent | hugetlb, rmap: fix confusing page locking in hugetlb_cow() (diff) | |
download | linux-a850ea30374ebed32a0724742601861853fde869.tar.xz linux-a850ea30374ebed32a0724742601861853fde869.zip |
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 <n-horiguchi@ah.jp.nec.com>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions