about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-06-18 13:33:52 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-06-18 13:33:52 +0000
commit91b2f3e5dd9940d81c424dc35cd182d7631fc3c4 (patch)
treeda35a9b65cd78c6e2fc923f232efc16561722151 /sysdeps
parent3fe8fc793f2e98c28c07428fabdeaf2f3c3480c7 (diff)
downloadglibc-91b2f3e5dd9940d81c424dc35cd182d7631fc3c4.tar.gz
glibc-91b2f3e5dd9940d81c424dc35cd182d7631fc3c4.tar.xz
glibc-91b2f3e5dd9940d81c424dc35cd182d7631fc3c4.zip
Update MAP_TYPE value for hppa from Linux 4.17.
This patch updates the hppa definition of MAP_TYPE to reflect a
corresponding change in the Linux kernel in 4.17 (so the value now has
four bits set, as it does on other architectures, although they are
different from other architectures because of hppa differences in
other MAP_* bits).

Tested with build-many-glibcs.py for hppa.

	* sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
	(MAP_TYPE): Change value to 0x2b.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/hppa/bits/mman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/mman.h b/sysdeps/unix/sysv/linux/hppa/bits/mman.h
index 1d2a175239..1c7d3708e6 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/mman.h
@@ -36,7 +36,7 @@
 #ifdef __USE_MISC
 # define MAP_SHARED_VALIDATE	0x03	/* Share changes and validate
 					   extension flags.  */
-# define MAP_TYPE	0x03		/* Mask for type of mapping */
+# define MAP_TYPE	0x2b		/* Mask for type of mapping */
 #endif
 
 /* Other flags.  */