From: Coly Li Date: Fri, 19 Oct 2007 06:39:15 +0000 (-0700) Subject: setup vma->vm_page_prot by vm_get_page_prot() X-Git-Tag: v2.6.24-rc1~279 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ed75eb8f1cd89565966599c4f77d2edb086d5b0;p=pandora-kernel.git setup vma->vm_page_prot by vm_get_page_prot() This patch uses vm_get_page_prot() to setup vma->vm_page_prot. Though inside vm_get_page_prot() the protection flags is AND with (VM_READ|VM_WRITE|VM_EXEC|VM_SHARED), it does not hurt correct code. Signed-off-by: Coly Li Cc: Hugh Dickins Cc: Tony Luck Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed