about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sparc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-01-06 18:06:40 +0000
committerUlrich Drepper <drepper@redhat.com>2006-01-06 18:06:40 +0000
commit88cd5a422f96d321eba2d661c9a42d744e9798d3 (patch)
tree28479f45f5a27efbe8163496b688d846f7635178 /sysdeps/unix/sysv/linux/sparc
parent9a2f485b8c8bb209bec15c5066c0e6f1473e1f05 (diff)
downloadglibc-88cd5a422f96d321eba2d661c9a42d744e9798d3.tar.gz
glibc-88cd5a422f96d321eba2d661c9a42d744e9798d3.tar.xz
glibc-88cd5a422f96d321eba2d661c9a42d744e9798d3.zip
Define MADV_REMOVE.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/mman.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/mman.h b/sysdeps/unix/sysv/linux/sparc/bits/mman.h
index 26425876ff..7c8689f223 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/mman.h
@@ -1,5 +1,5 @@
 /* Definitions for POSIX memory map interface.  Linux/SPARC version.
-   Copyright (C) 1997, 1999, 2000, 2003, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1997,1999,2000,2003,2005,2006 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
@@ -90,6 +90,8 @@
 # define MADV_SEQUENTIAL 2	/* Expect sequential page references.  */
 # define MADV_WILLNEED	 3	/* Will need these pages.  */
 # define MADV_DONTNEED	 4	/* Don't need these pages.  */
+# define MADV_FREE	 5	/* Content can be freed (Solaris).  */
+# define MADV_REMOVE	 6	/* Remove these pages and resources.  */
 #endif
 
 /* The POSIX people had to invent similar names for the same things.  */