This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[PATCH 4/4] alpha: Update bits/mman.h.
- From: Matt Turner <mattst88 at gmail dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: libc-ports at sourceware dot org, Matt Turner <mattst88 at gmail dot com>
- Date: Thu, 26 Apr 2012 22:07:54 -0400
- Subject: [PATCH 4/4] alpha: Update bits/mman.h.
- References: <1335492474-16057-1-git-send-email-mattst88@gmail.com>
---
ChangeLog.alpha | 5 +++++
sysdeps/unix/sysv/linux/alpha/bits/mman.h | 5 +++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index 72eb5af..e908e27 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -1,5 +1,10 @@
2012-04-26 Matt Turner <mattst88@gmail.com>
+ * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MAP_STACK): Define.
+ (MAP_HUGETLB): Likewise.
+
+2012-04-26 Matt Turner <mattst88@gmail.com>
+
* sysdeps/alpha/bits/mathdef.h: Remove __STDC__ conditionals.
* sysdeps/unix/alpha/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/mman.h b/sysdeps/unix/sysv/linux/alpha/bits/mman.h
index 5724e5f..6635bd4 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/mman.h
@@ -1,6 +1,5 @@
/* Definitions for POSIX memory map interface. Linux/Alpha version.
- Copyright (C) 1997, 1998, 2000, 2003, 2006, 2009
- Free Software Foundation, Inc.
+ Copyright (C) 1997-2012 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
@@ -71,6 +70,8 @@
# define MAP_NORESERVE 0x10000 /* Don't check for reservations. */
# define MAP_POPULATE 0x20000 /* Populate (prefault) pagetables. */
# define MAP_NONBLOCK 0x40000 /* Do not block on IO. */
+# define MAP_STACK 0x80000 /* Allocation is for a stack. */
+# define MAP_HUGETLB 0x100000 /* Create huge page mapping. */
#endif
/* Flags to `msync'. */
--
1.7.3.4