Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
hugetlb_inline.h
Go to the documentation of this file.
1
#ifndef _LINUX_HUGETLB_INLINE_H
2
#define _LINUX_HUGETLB_INLINE_H
3
4
#ifdef CONFIG_HUGETLB_PAGE
5
6
#include <
linux/mm.h
>
7
8
static
inline
int
is_vm_hugetlb_page(
struct
vm_area_struct
*vma)
9
{
10
return
!!(vma->
vm_flags
& VM_HUGETLB);
11
}
12
13
#else
14
15
static
inline
int
is_vm_hugetlb_page(
struct
vm_area_struct
*vma)
16
{
17
return
0;
18
}
19
20
#endif
21
22
#endif
Generated on Thu Jan 10 2013 14:51:31 for Linux Kernel by
1.8.2