diff options
author | Zhang Zhen <zhenzhang.zhang@huawei.com> | 2015-06-24 16:56:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-24 17:49:41 -0700 |
commit | a67a31fa308a9032ead31b0501dafdb44ccf5a12 (patch) | |
tree | c56546d055a983dbb404d571012bbf99505ab696 /fs/hugetlbfs/inode.c | |
parent | 83d3f0e90c6c8f833e3da91917c243a916fda69e (diff) | |
download | op-kernel-dev-a67a31fa308a9032ead31b0501dafdb44ccf5a12.zip op-kernel-dev-a67a31fa308a9032ead31b0501dafdb44ccf5a12.tar.gz |
mm/hugetlb: reduce arch dependent code about hugetlb_prefault_arch_hook
Currently we have many duplicates in definitions of
hugetlb_prefault_arch_hook. In all architectures this function is empty.
Signed-off-by: Zhang Zhen <zhenzhang.zhang@huawei.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hugetlbfs/inode.c')
-rw-r--r-- | fs/hugetlbfs/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 87724c1..0cf74df 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c @@ -130,7 +130,6 @@ static int hugetlbfs_file_mmap(struct file *file, struct vm_area_struct *vma) goto out; ret = 0; - hugetlb_prefault_arch_hook(vma->vm_mm); if (vma->vm_flags & VM_WRITE && inode->i_size < len) inode->i_size = len; out: |