add SWAP_FLAG_DISCARD to sys/swap.h
authorSzabolcs Nagy <nsz@port70.net>
Sat, 12 Jan 2013 18:13:59 +0000 (19:13 +0100)
committerSzabolcs Nagy <nsz@port70.net>
Sat, 12 Jan 2013 18:42:39 +0000 (19:42 +0100)
include/sys/swap.h

index 1bd6159..11c0f92 100644 (file)
@@ -9,6 +9,7 @@ extern "C" {
 #define        SWAP_FLAG_PREFER        0x8000
 #define        SWAP_FLAG_PRIO_MASK     0x7fff
 #define        SWAP_FLAG_PRIO_SHIFT    0
+#define SWAP_FLAG_DISCARD       0x10000
 
 int swapon (const char *, int);
 int swapoff (const char *);