blob: c027e93d1002d2f32a5a0575dbf364763a81cec8 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001// SPDX-License-Identifier: GPL-2.0
Al Viro37185b32012-10-08 03:27:32 +01002#include <linux/mm.h>
Richard Weinberger27795672015-05-12 00:07:07 +02003#include <asm/elf.h>
Richard Weinbergerfc9a0012011-07-25 17:12:54 -07004
5const 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}