summaryrefslogtreecommitdiffstats
path: root/linux-user/mips
diff options
context:
space:
mode:
authorRichard Henderson2016-12-05 22:08:12 +0100
committerRichard Henderson2017-01-23 03:14:10 +0100
commitfe8ed7d5794f6cecc69bb31ab1291e2356d31bcd (patch)
tree25721767d3d1c8ea0e5c782075ae2f0f2da6b2bd /linux-user/mips
parentlinux-user: Add SIOCGPGRP, SIOCGSTAMP, SIOCGSTAMPNS (diff)
downloadqemu-fe8ed7d5794f6cecc69bb31ab1291e2356d31bcd.tar.gz
qemu-fe8ed7d5794f6cecc69bb31ab1291e2356d31bcd.tar.xz
qemu-fe8ed7d5794f6cecc69bb31ab1291e2356d31bcd.zip
linux-user: Handle ERFKILL and EHWPOISON
With definitions for generic, alpha and mips taken from 4.9-rc2. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'linux-user/mips')
-rw-r--r--linux-user/mips/target_syscall.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/mips/target_syscall.h b/linux-user/mips/target_syscall.h
index 0b64b73714..2fca1c6bf9 100644
--- a/linux-user/mips/target_syscall.h
+++ b/linux-user/mips/target_syscall.h
@@ -221,6 +221,11 @@ struct target_pt_regs {
#undef TARGET_ENOTRECOVERABLE
#define TARGET_ENOTRECOVERABLE 166 /* State not recoverable */
+#undef TARGET_ERFKILL
+#define TARGET_ERFKILL 167
+#undef TARGET_EHWPOISON
+#define TARGET_EHWPOISON 168
+
#undef TARGET_EDQUOT
#define TARGET_EDQUOT 1133 /* Quota exceeded */