Messages in this thread |  | | Date | Sun, 28 Oct 2001 14:46:16 -0500 | Subject | Re: #define MADV_NORMAL different in kernel and glibc | From | rwhron@earthlin ... |
| |
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/
|  |