about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-11-16 12:17:04 -0500
committerUlrich Drepper <drepper@redhat.com>2010-11-16 12:17:04 -0500
commita1fb5e3ebe9d38b5ae6c5bfbfaa04882d52355bc (patch)
tree6510cd64e25082ce53714d3fce077c2382aea049 /sysdeps
parent3540d66b669af54900b2e4bfc0ab82960e84a471 (diff)
downloadglibc-a1fb5e3ebe9d38b5ae6c5bfbfaa04882d52355bc.tar.gz
glibc-a1fb5e3ebe9d38b5ae6c5bfbfaa04882d52355bc.tar.xz
glibc-a1fb5e3ebe9d38b5ae6c5bfbfaa04882d52355bc.zip
Define SWAP_FLAG_DISCARD.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/sys/swap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/swap.h b/sysdeps/unix/sysv/linux/sys/swap.h
index b6e7bef5d2..961006cbbe 100644
--- a/sysdeps/unix/sysv/linux/sys/swap.h
+++ b/sysdeps/unix/sysv/linux/sys/swap.h
@@ -1,5 +1,5 @@
 /* Calls to enable and disable swapping on specified locations.  Linux version.
-   Copyright (C) 1996, 1998, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1998, 1999, 2010 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -28,6 +28,7 @@
 #define	SWAP_FLAG_PREFER	0x8000	/* Set if swap priority is specified. */
 #define	SWAP_FLAG_PRIO_MASK	0x7fff
 #define	SWAP_FLAG_PRIO_SHIFT	0
+#define SWAP_FLAG_DISCARD	0x10000	/* Discard swap cluster after use.  */
 
 __BEGIN_DECLS