Browse Source

Corrected a comment regarding mmap2().

Peter Kjellerstedt 19 years ago
parent
commit
aecc5b0cf7
1 changed files with 4 additions and 1 deletions
  1. 4 1
      libc/sysdeps/linux/common/mmap64.c

+ 4 - 1
libc/sysdeps/linux/common/mmap64.c

@@ -53,7 +53,10 @@ __ptr_t mmap64(__ptr_t addr, size_t len, int prot, int flags, int fd, __off64_t
 static inline _syscall6(__ptr_t, __syscall_mmap2, __ptr_t, addr, 
 	size_t, len, int, prot, int, flags, int, fd, off_t, offset);
 
-/* This is always 12, even on architectures where PAGE_SHIFT != 12.  */
+/* Some architectures always use 12 as page shift for mmap2() eventhough the
+ * real PAGE_SHIFT != 12.  Other architectures use the same value as
+ * PAGE_SHIFT...
+ */
 #  ifndef MMAP2_PAGE_SHIFT
 #   define MMAP2_PAGE_SHIFT 12
 #  endif