summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/vsyscall/vsyscall.c
diff options
context:
space:
mode:
authorStephen Wilson2011-03-13 20:49:16 +0100
committerAl Viro2011-03-23 21:36:54 +0100
commit83b964bbf82eb13a8f31bb49ca420787fe01f7a6 (patch)
treec94dcf5f4116ca351570fb9d2b7e37834e93f430 /arch/sh/kernel/vsyscall/vsyscall.c
parentmm: arch: make get_gate_vma take an mm_struct instead of a task_struct (diff)
downloadkernel-qcow2-linux-83b964bbf82eb13a8f31bb49ca420787fe01f7a6.tar.gz
kernel-qcow2-linux-83b964bbf82eb13a8f31bb49ca420787fe01f7a6.tar.xz
kernel-qcow2-linux-83b964bbf82eb13a8f31bb49ca420787fe01f7a6.zip
mm: arch: make in_gate_area take an mm_struct instead of a task_struct
Morally, the question of whether an address lies in a gate vma should be asked with respect to an mm, not a particular task. Moreover, dropping the dependency on task_struct will help make existing and future operations on mm's more flexible and convenient. Signed-off-by: Stephen Wilson <wilsons@start.ca> Reviewed-by: Michel Lespinasse <walken@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sh/kernel/vsyscall/vsyscall.c')
-rw-r--r--arch/sh/kernel/vsyscall/vsyscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/vsyscall/vsyscall.c b/arch/sh/kernel/vsyscall/vsyscall.c
index 3f9b6f41813a..62c36a8961d3 100644
--- a/arch/sh/kernel/vsyscall/vsyscall.c
+++ b/arch/sh/kernel/vsyscall/vsyscall.c
@@ -99,7 +99,7 @@ struct vm_area_struct *get_gate_vma(struct mm_struct *mm)
return NULL;
}
-int in_gate_area(struct task_struct *task, unsigned long address)
+int in_gate_area(struct mm_struct *mm, unsigned long address)
{
return 0;
}