aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/mempolicy.c')
-rw-r--r--mm/mempolicy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index 4c0510e9e7f6..4b077ec6c005 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -935,8 +935,8 @@ asmlinkage long compat_sys_mbind(compat_ulong_t start, compat_ulong_t len,
935#endif 935#endif
936 936
937/* Return effective policy for a VMA */ 937/* Return effective policy for a VMA */
938struct mempolicy * 938static struct mempolicy * get_vma_policy(struct task_struct *task,
939get_vma_policy(struct task_struct *task, struct vm_area_struct *vma, unsigned long addr) 939 struct vm_area_struct *vma, unsigned long addr)
940{ 940{
941 struct mempolicy *pol = task->mempolicy; 941 struct mempolicy *pol = task->mempolicy;
942 942