diff options
Diffstat (limited to 'arch/x86/um/mem_64.c')
| -rw-r--r-- | arch/x86/um/mem_64.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/x86/um/mem_64.c b/arch/x86/um/mem_64.c new file mode 100644 index 000000000000..546518727a73 --- /dev/null +++ b/arch/x86/um/mem_64.c | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | #include "linux/mm.h" | ||
| 2 | #include "asm/page.h" | ||
| 3 | #include "asm/mman.h" | ||
| 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 | } | ||
