lkml.org 
[lkml]   [2001]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: #define MADV_NORMAL different in kernel and glibc
From
On Sun, Oct 28, 2001 at 07:53:22PM +0100, Andreas Jaeger wrote:
> rwhron@earthlink.net 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.

Thanks!

--
Randy Hron

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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