summaryrefslogtreecommitdiffstats
path: root/mount/swap_constants.h
blob: c7e8b4c7e40df51f3b97130c2d249472504c9c56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * It is too painful to get these out of <linux/swap.h>
 * (which again requires <asm/page.h> etc).
 * These exist since Linux 1.3.2.
 */

#ifndef SWAP_FLAG_PREFER
#define SWAP_FLAG_PREFER	0x8000	/* set if swap priority specified */
#endif
#ifndef SWAP_FLAG_PRIO_MASK
#define SWAP_FLAG_PRIO_MASK	0x7fff
#endif
#ifndef SWAP_FLAG_PRIO_SHIFT
#define SWAP_FLAG_PRIO_SHIFT	0
#endif