diff options
author | Elliott Hughes <enh@google.com> | 2014-01-07 18:20:17 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-01-07 18:20:17 -0800 |
commit | bfa7d0822b2811d667fba1b326fd54a083fd5a95 (patch) | |
tree | aedb3ba8bfa5b60d1a0d7d5e2dfdbba63ef67f58 /toolbox | |
parent | e21d03ce3722582980be2c84ffbc6b6ccf55e258 (diff) | |
download | system_core-bfa7d0822b2811d667fba1b326fd54a083fd5a95.zip system_core-bfa7d0822b2811d667fba1b326fd54a083fd5a95.tar.gz system_core-bfa7d0822b2811d667fba1b326fd54a083fd5a95.tar.bz2 |
SWAP_FLAG_* constants are now in <sys/swap.h>.
Bug: 9336527
Change-Id: I77e2b05cefbfb4eebda39b4079107833f4160563
Diffstat (limited to 'toolbox')
-rw-r--r-- | toolbox/swapon.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/toolbox/swapon.c b/toolbox/swapon.c index afa6868..a810b3d 100644 --- a/toolbox/swapon.c +++ b/toolbox/swapon.c @@ -5,12 +5,6 @@ #include <asm/page.h> #include <sys/swap.h> -/* XXX These need to be obtained from kernel headers. See b/9336527 */ -#define SWAP_FLAG_PREFER 0x8000 -#define SWAP_FLAG_PRIO_MASK 0x7fff -#define SWAP_FLAG_PRIO_SHIFT 0 -#define SWAP_FLAG_DISCARD 0x10000 - void usage(char *name) { fprintf(stderr, "Usage: %s [-p prio] <filename>\n" |