commit | 3ed75eb8f1cd89565966599c4f77d2edb086d5b0 | [log] [tgz] |
---|---|---|
author | Coly Li <coyli@suse.de> | Thu Oct 18 23:39:15 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Fri Oct 19 11:53:34 2007 -0700 |
tree | 54e77a47b40da80d76baf5eacc2259e0bc5bdf7c | |
parent | 1c7037db50ebecf3d5cfbf7082daa5d97d900fef [diff] |
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 <coyli@suse.de> Cc: Hugh Dickins <hugh@veritas.com> Cc: Tony Luck <tony.luck@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>