Linux Audio

Check our new training course

Loading...
v4.6
 
 1#include <linux/mm.h>
 2#include <asm/elf.h>
 3
 4const char *arch_vma_name(struct vm_area_struct *vma)
 5{
 6	if (vma->vm_mm && vma->vm_start == um_vdso_addr)
 7		return "[vdso]";
 8
 9	return NULL;
10}
v4.17
 1// SPDX-License-Identifier: GPL-2.0
 2#include <linux/mm.h>
 3#include <asm/elf.h>
 4
 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}