hugetlb: fault flags instead of write_access
authorHugh Dickins <hugh.dickins@tiscali.co.uk>
Tue, 23 Jun 2009 12:49:05 +0000 (13:49 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 23 Jun 2009 18:23:33 +0000 (11:23 -0700)
commit788c7df451467df71638dd79a2d63d78c6e13b9c
tree30714df634b620784b7a04fefc51d8c09291de38
parenta800faec1b21d7133b5f0c8c6dac593b7c4e118d
hugetlb: fault flags instead of write_access

handle_mm_fault() is now passing fault flags rather than write_access
down to hugetlb_fault(), so better recognize that in hugetlb_fault(),
and in hugetlb_no_page().

Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Acked-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/hugetlb.h
mm/hugetlb.c