summaryrefslogtreecommitdiffstats
path: root/kernel/notifier.c
diff options
context:
space:
mode:
authorColy Li2007-10-19 08:39:15 +0200
committerLinus Torvalds2007-10-19 20:53:34 +0200
commit3ed75eb8f1cd89565966599c4f77d2edb086d5b0 (patch)
tree54e77a47b40da80d76baf5eacc2259e0bc5bdf7c /kernel/notifier.c
parentremove unused flush_tlb_pgtables (diff)
downloadkernel-qcow2-linux-3ed75eb8f1cd89565966599c4f77d2edb086d5b0.tar.gz
kernel-qcow2-linux-3ed75eb8f1cd89565966599c4f77d2edb086d5b0.tar.xz
kernel-qcow2-linux-3ed75eb8f1cd89565966599c4f77d2edb086d5b0.zip
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>
Diffstat (limited to 'kernel/notifier.c')
0 files changed, 0 insertions, 0 deletions