Upload Tizen:Base source
[framework/base/util-linux-ng.git] / mount / swap_constants.h
1 /*
2  * It is too painful to get these out of <linux/swap.h>
3  * (which again requires <asm/page.h> etc).
4  * These exist since Linux 1.3.2.
5  */
6
7 #ifndef SWAP_FLAG_PREFER
8 #define SWAP_FLAG_PREFER        0x8000  /* set if swap priority specified */
9 #endif
10 #ifndef SWAP_FLAG_PRIO_MASK
11 #define SWAP_FLAG_PRIO_MASK     0x7fff
12 #endif
13 #ifndef SWAP_FLAG_PRIO_SHIFT
14 #define SWAP_FLAG_PRIO_SHIFT    0
15 #endif