procfs: mark thread stack correctly in proc/<pid>/maps
[linux-2.6-block.git] / include / linux / mm.h
index 378bccebc26c2108177765f1a6e701bd185020dc..df17ff23d50e995b3e9ddc84888720a8f1ec017f 100644 (file)
@@ -1040,6 +1040,9 @@ static inline int stack_guard_page_end(struct vm_area_struct *vma,
                !vma_growsup(vma->vm_next, addr);
 }
 
+extern pid_t
+vm_is_stack(struct task_struct *task, struct vm_area_struct *vma, int in_group);
+
 extern unsigned long move_page_tables(struct vm_area_struct *vma,
                unsigned long old_addr, struct vm_area_struct *new_vma,
                unsigned long new_addr, unsigned long len);