|
@@ -1489,7 +1489,7 @@ asmlinkage long compat_sys_mbind(compat_ulong_t start, compat_ulong_t len,
|
|
|
* freeing by another task. It is the caller's responsibility to free the
|
|
|
* extra reference for shared policies.
|
|
|
*/
|
|
|
-static struct mempolicy *get_vma_policy(struct task_struct *task,
|
|
|
+struct mempolicy *get_vma_policy(struct task_struct *task,
|
|
|
struct vm_area_struct *vma, unsigned long addr)
|
|
|
{
|
|
|
struct mempolicy *pol = task->mempolicy;
|