From: Christoph Lameter Since the numa_maps functionality is now in mempolicy.c we no longer need to export get_vma_policy(). Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton --- include/linux/mempolicy.h | 3 --- mm/mempolicy.c | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff -puN include/linux/mempolicy.h~mempolicies-unexport-get_vma_policy include/linux/mempolicy.h --- 25/include/linux/mempolicy.h~mempolicies-unexport-get_vma_policy Wed Dec 14 15:41:49 2005 +++ 25-akpm/include/linux/mempolicy.h Wed Dec 14 15:41:49 2005 @@ -144,9 +144,6 @@ void mpol_free_shared_policy(struct shar struct mempolicy *mpol_shared_policy_lookup(struct shared_policy *sp, unsigned long idx); -struct mempolicy *get_vma_policy(struct task_struct *task, - struct vm_area_struct *vma, unsigned long addr); - extern void numa_default_policy(void); extern void numa_policy_init(void); extern void numa_policy_rebind(const nodemask_t *old, const nodemask_t *new); diff -puN mm/mempolicy.c~mempolicies-unexport-get_vma_policy mm/mempolicy.c --- 25/mm/mempolicy.c~mempolicies-unexport-get_vma_policy Wed Dec 14 15:41:49 2005 +++ 25-akpm/mm/mempolicy.c Wed Dec 14 15:41:49 2005 @@ -931,8 +931,8 @@ asmlinkage long compat_sys_mbind(compat_ #endif /* Return effective policy for a VMA */ -struct mempolicy * -get_vma_policy(struct task_struct *task, struct vm_area_struct *vma, unsigned long addr) +static struct mempolicy * get_vma_policy(struct task_struct *task, + struct vm_area_struct *vma, unsigned long addr) { struct mempolicy *pol = task->mempolicy; _