Al Viro | 37185b3 | 2012-10-08 03:27:32 +0100 | [diff] [blame^] | 1 | #include <linux/mm.h> |
| 2 | #include <asm/page.h> |
| 3 | #include <asm/mman.h> |
Richard Weinberger | fc9a001 | 2011-07-25 17:12:54 -0700 | [diff] [blame] | 4 | |
| 5 | const char *arch_vma_name(struct vm_area_struct *vma) |
| 6 | { |
| 7 | if (vma->vm_mm && vma->vm_start == um_vdso_addr) |
| 8 | return "[vdso]"; |
| 9 | |
| 10 | return NULL; |
| 11 | } |
| 12 | |
| 13 | struct vm_area_struct *get_gate_vma(struct mm_struct *mm) |
| 14 | { |
| 15 | return NULL; |
| 16 | } |
| 17 | |
| 18 | int in_gate_area(struct mm_struct *mm, unsigned long addr) |
| 19 | { |
| 20 | return 0; |
| 21 | } |
| 22 | |
| 23 | int in_gate_area_no_mm(unsigned long addr) |
| 24 | { |
| 25 | return 0; |
| 26 | } |