From 9f22020b91ae235be2b27c47d11e842872ec5e85 Mon Sep 17 00:00:00 2001 From: Ilya Leoshkevich Date: Tue, 6 Sep 2022 02:08:35 +0200 Subject: linux-user: Provide MADV_* definitions Provide MADV_* definitions using target_mman.h header, similar to what kernel does. Most architectures use the same values, with the exception of alpha and hppa. Signed-off-by: Ilya Leoshkevich Reviewed-by: Richard Henderson Message-Id: <20220906000839.1672934-2-iii@linux.ibm.com> Signed-off-by: Laurent Vivier --- linux-user/alpha/target_mman.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 linux-user/alpha/target_mman.h (limited to 'linux-user/alpha/target_mman.h') diff --git a/linux-user/alpha/target_mman.h b/linux-user/alpha/target_mman.h new file mode 100644 index 0000000000..cd6e3d70a6 --- /dev/null +++ b/linux-user/alpha/target_mman.h @@ -0,0 +1,8 @@ +#ifndef ALPHA_TARGET_MMAN_H +#define ALPHA_TARGET_MMAN_H + +#define TARGET_MADV_DONTNEED 6 + +#include "../generic/target_mman.h" + +#endif -- cgit v1.2.3