[lkml]   [2001]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: #define MADV_NORMAL different in kernel and glibc
On Sun, Oct 28, 2001 at 07:53:22PM +0100, Andreas Jaeger wrote:
> writes:
> > Programs like mremap04.c from the Linux Test Project that include mman.h
> > give a warning like:
> Those programs should not include asm/mman.h. Just remove the
> inclusion of that header and use only glibc's headers.
> Andreas

That is beautiful.

The warnings go away by:

Remove #include <linux/mman.h> from ltp/testcases/kernel/syscalls/mremap/*.c
Add -DMREMAP_MAYMOVE to ltp/testcases/kernel/syscalls/mremap/Makefile.


Randy Hron

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:11    [W:0.039 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site