aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/errno.h
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-05-13 07:49:12 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-05-13 07:49:12 +0000
commitcfa985350d5a378f6691d41a827b038c7a9f79e5 (patch)
tree34e36acaa925d89feefe36553fdad1051ad5c487 /sys/compat/linuxkpi/common/include/linux/errno.h
parenta164a32b4dfaa8cf8f2d8d11cf515b146c51119d (diff)
downloadsrc-cfa985350d5a378f6691d41a827b038c7a9f79e5.tar.gz
src-cfa985350d5a378f6691d41a827b038c7a9f79e5.zip
linuxkpi: Add EBADRQC to errno.h
This is used in the amdgpu driver from Linux 5.2 Sponsored-by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D24807
Notes
Notes: svn path=/head/; revision=361007
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/errno.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/errno.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/errno.h b/sys/compat/linuxkpi/common/include/linux/errno.h
index 9fc296691c93..e824480ab640 100644
--- a/sys/compat/linuxkpi/common/include/linux/errno.h
+++ b/sys/compat/linuxkpi/common/include/linux/errno.h
@@ -33,6 +33,8 @@
#include <sys/errno.h>
+#define EBADRQC 56 /* Bad request code */
+
#define ECHRNG EDOM
#define ETIME ETIMEDOUT
#define ECOMM ESTALE