aboutsummaryrefslogtreecommitdiff
path: root/linux-user/openrisc
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2022-09-06 02:08:35 +0200
committerLaurent Vivier <laurent@vivier.eu>2022-09-27 09:30:09 +0200
commit9f22020b91ae235be2b27c47d11e842872ec5e85 (patch)
tree46c13e367d65343cfc413bd0ee055b156c24f41f /linux-user/openrisc
parent811ee5cfc5da2e0b94eb11192ce2700fcd7063d1 (diff)
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 <iii@linux.ibm.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220906000839.1672934-2-iii@linux.ibm.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/openrisc')
-rw-r--r--linux-user/openrisc/target_mman.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/openrisc/target_mman.h b/linux-user/openrisc/target_mman.h
new file mode 100644
index 0000000000..e7ba6070fe
--- /dev/null
+++ b/linux-user/openrisc/target_mman.h
@@ -0,0 +1 @@
+#include "../generic/target_mman.h"