thp: add pmd_modify
authorJohannes Weiner <hannes@cmpxchg.org>
Thu, 13 Jan 2011 23:47:02 +0000 (15:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:44 +0000 (17:32 -0800)
commitc489f1257b8cacd4881a18da1e93659f934a8e98
treec06e1611a9af8726999d3d95599934910237735b
parent0ca1634d4143c3579273ca53b993df19f5c98e92
thp: add pmd_modify

Add pmd_modify() for use with mprotect() on huge pmds.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/pgtable.h
arch/x86/include/asm/pgtable_types.h