aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/errno.h
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2022-07-27 07:50:25 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2022-08-08 13:22:35 +0000
commit2d4b17685fd2891ffc28590a408df4b96d218b05 (patch)
tree665622dbd1ecb4c2fac3fd1a3371c964ab182adc /sys/compat/linuxkpi/common/include/linux/errno.h
parent37cda2837c004e743e9262e2e0ea409766df2a09 (diff)
downloadsrc-2d4b17685fd2891ffc28590a408df4b96d218b05.tar.gz
src-2d4b17685fd2891ffc28590a408df4b96d218b05.zip
linuxkpi: errno: Add EHWPOISON
Needed by drm-kmod. Reviewed by: bz, hselasky Obtained from: drm-kmod Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D36017
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/errno.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/errno.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/errno.h b/sys/compat/linuxkpi/common/include/linux/errno.h
index f9c0ceeac5e2..72d8af6779a5 100644
--- a/sys/compat/linuxkpi/common/include/linux/errno.h
+++ b/sys/compat/linuxkpi/common/include/linux/errno.h
@@ -44,6 +44,7 @@
#define ERESTARTSYS 512
#define ENOTSUPP EOPNOTSUPP
#define ENONET EHOSTDOWN
+#define EHWPOISON 133 /* Memory page hardware error */
/*
* The error numbers below are arbitrary and do not resemble the numbers