Commit 48fce342 authored by Christoph Lameter's avatar Christoph Lameter Committed by Linus Torvalds

[PATCH] mempolicies: unexport get_vma_policy()

Since the numa_maps functionality is now in mempolicy.c we no longer need to
export get_vma_policy().
Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 132beacf
...@@ -144,9 +144,6 @@ void mpol_free_shared_policy(struct shared_policy *p); ...@@ -144,9 +144,6 @@ void mpol_free_shared_policy(struct shared_policy *p);
struct mempolicy *mpol_shared_policy_lookup(struct shared_policy *sp, struct mempolicy *mpol_shared_policy_lookup(struct shared_policy *sp,
unsigned long idx); 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_default_policy(void);
extern void numa_policy_init(void); extern void numa_policy_init(void);
extern void numa_policy_rebind(const nodemask_t *old, const nodemask_t *new); extern void numa_policy_rebind(const nodemask_t *old, const nodemask_t *new);
......
...@@ -935,8 +935,8 @@ asmlinkage long compat_sys_mbind(compat_ulong_t start, compat_ulong_t len, ...@@ -935,8 +935,8 @@ asmlinkage long compat_sys_mbind(compat_ulong_t start, compat_ulong_t len,
#endif #endif
/* Return effective policy for a VMA */ /* Return effective policy for a VMA */
struct mempolicy * static struct mempolicy * get_vma_policy(struct task_struct *task,
get_vma_policy(struct task_struct *task, struct vm_area_struct *vma, unsigned long addr) struct vm_area_struct *vma, unsigned long addr)
{ {
struct mempolicy *pol = task->mempolicy; struct mempolicy *pol = task->mempolicy;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment