[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r11221 - in /trunk/ports: ChangeLog.eglibc sysdeps/unix/sysv/linux/m68k/kernel-features.h
- To: commits@xxxxxxxxxx
- Subject: [commits] r11221 - in /trunk/ports: ChangeLog.eglibc sysdeps/unix/sysv/linux/m68k/kernel-features.h
- From: maxim@xxxxxxxxxx
- Date: Thu, 12 Aug 2010 13:45:12 -0000
Author: maxim
Date: Thu Aug 12 06:45:11 2010
New Revision: 11221
Log:
* sysdeps/unix/sysv/linux/m68k/kernel-features.h (MMAP2_PAGE_SHIFT):
Define to 13.
Modified:
trunk/ports/ChangeLog.eglibc
trunk/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h
Modified: trunk/ports/ChangeLog.eglibc
==============================================================================
--- trunk/ports/ChangeLog.eglibc (original)
+++ trunk/ports/ChangeLog.eglibc Thu Aug 12 06:45:11 2010
@@ -1,3 +1,8 @@
+2010-08-12 Maxim Kuvyrkov <maxim@xxxxxxxxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/m68k/kernel-features.h (MMAP2_PAGE_SHIFT):
+ Define to 13.
+
2009-08-25 Joseph Myers <joseph@xxxxxxxxxxxxxxxx>
* sysdeps/powerpc/powerpc32/e500/fpu/__longjmp-common.S: Move
Modified: trunk/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h
==============================================================================
--- trunk/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h (original)
+++ trunk/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h Thu Aug 12 06:45:11 2010
@@ -39,3 +39,9 @@
/* These syscalls are not implemented yet for m68k. */
#undef __ASSUME_PSELECT
#undef __ASSUME_PPOLL
+
+#ifdef __mcoldfire__
+/* ColdFire kernels have PAGE_SHIFT set to 13 and expect
+ mmap2 offset to be provided in 8K pages. */
+# define MMAP2_PAGE_SHIFT 13
+#endif