diff options
author | Keith Owens <kaos@ocs.com.au> | 2004-12-29 00:16:00 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-12-29 00:16:00 +0100 |
commit | d63654939a6f90411c0ece615e25d6b42030f042 (patch) | |
tree | 36024c22572f074d9f32a4be53edcbc8c22d839f /mm | |
parent | 340241a9522a1bb62e600014ec291c76d15fc8a9 (diff) | |
download | history-d63654939a6f90411c0ece615e25d6b42030f042.tar.gz |
kallsyms: Add in_gate_area_no_task()
Add in_gate_area_no_task() for use in places where no task is valid
(e.g. kallsyms). If you have a valid task, use in_gate_area() as
before.
Signed-off-by: Keith Owens <kaos@ocs.com.au>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index 2650897d57be53..fbd9834bf210df 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -1837,7 +1837,7 @@ struct vm_area_struct *get_gate_vma(struct task_struct *tsk) #endif } -int in_gate_area(struct task_struct *task, unsigned long addr) +int in_gate_area_no_task(unsigned long addr) { #ifdef AT_SYSINFO_EHDR if ((addr >= FIXADDR_USER_START) && (addr < FIXADDR_USER_END)) |