search for: config_madvise

Displaying 1 result from an estimated 1 matches for "config_madvise".

2011 Aug 23
0
qemu-kvm-0.15 + CentOS 5.6 + vanilla 2.6.35.14 (working, patch included)
...s/time.h> +#include <asm-generic/mman-common.h> +#ifndef MADV_MERGEABLE +#error MADV_MERGEABLE undefined +#endif + #ifndef glue #define xglue(x, y) x ## y #define glue(x, y) xglue(x, y) @@ -95,6 +100,11 @@ #define QEMU_MADV_INVALID -1 +#include "config-host.h" +#ifndef CONFIG_MADVISE +#error CONFIG_MADVISE undefined +#endif + #if defined(CONFIG_MADVISE) #define QEMU_MADV_WILLNEED MADV_WILLNEED @@ -102,11 +112,13 @@ #ifdef MADV_DONTFORK #define QEMU_MADV_DONTFORK MADV_DONTFORK #else +#error QEMU_MADV_DONTFORK undefined #define QEMU_MADV_DONTFORK QEMU_MADV_INVALID #en...