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 --- devel/include/linux/mempolicy.h~mempolicies-unexport-get_vma_policy 2005-11-22 20:29:12.000000000 -0800 +++ devel-akpm/include/linux/mempolicy.h 2005-11-22 20:29:12.000000000 -0800 @@ -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 --- devel/mm/mempolicy.c~mempolicies-unexport-get_vma_policy 2005-11-22 20:29:12.000000000 -0800 +++ devel-akpm/mm/mempolicy.c 2005-11-22 20:29:12.000000000 -0800 @@ -944,8 +944,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; _