xref: /openbmc/linux/arch/x86/um/mem_64.c (revision 54cbac81)
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 }
27