summary refs log tree commit diff stats
path: root/linux-user/mips/target_syscall.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2016-12-05 13:08:12 -0800
committerRichard Henderson <rth@twiddle.net>2017-01-22 18:14:10 -0800
commitfe8ed7d5794f6cecc69bb31ab1291e2356d31bcd (patch)
tree25721767d3d1c8ea0e5c782075ae2f0f2da6b2bd /linux-user/mips/target_syscall.h
parent405b49150425a3570de4eab99870498d14712b11 (diff)
downloadfocaccia-qemu-fe8ed7d5794f6cecc69bb31ab1291e2356d31bcd.tar.gz
focaccia-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/target_syscall.h')
-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 */