summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin/bits/mman.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-05-15 22:49:35 +0000
committerMike Frysinger <vapier@gentoo.org>2006-05-15 22:49:35 +0000
commit569755ce4e6db9ce7b3de5d2256a1cb68b9b43f3 (patch)
tree99b8701d8046c4c60d5a6307968582c67978e9dc /libc/sysdeps/linux/bfin/bits/mman.h
parent7ebb2e4369d611641b67a2f15265742c73b1d8f3 (diff)
updates from Bernd Schmidt to sync with blackfin cvs
Diffstat (limited to 'libc/sysdeps/linux/bfin/bits/mman.h')
-rw-r--r--libc/sysdeps/linux/bfin/bits/mman.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/bfin/bits/mman.h b/libc/sysdeps/linux/bfin/bits/mman.h
index d57eeb587..c75ff4b0d 100644
--- a/libc/sysdeps/linux/bfin/bits/mman.h
+++ b/libc/sysdeps/linux/bfin/bits/mman.h
@@ -72,16 +72,15 @@
/* Flags for `mremap'. */
#ifdef __USE_GNU
# define MREMAP_MAYMOVE 1
-# define MREMAP_FIXED 2
#endif
/* Advice to `madvise'. */
#ifdef __USE_BSD
-# define MADV_NORMAL 0 /* No further special treatment. */
-# define MADV_RANDOM 1 /* Expect random page references. */
-# 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_NORMAL 0x0 /* No further special treatment. */
+# define MADV_RANDOM 0x1 /* Expect random page references. */
+# define MADV_SEQUENTIAL 0x2 /* Expect sequential page references. */
+# define MADV_WILLNEED 0x3 /* Will need these pages. */
+# define MADV_DONTNEED 0x4 /* Don't need these pages. */
#endif
/* The POSIX people had to invent similar names for the same things. */