From 2d4b17685fd2891ffc28590a408df4b96d218b05 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Wed, 27 Jul 2022 09:50:25 +0200 Subject: [PATCH] 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 --- sys/compat/linuxkpi/common/include/linux/errno.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/errno.h b/sys/compat/linuxkpi/common/include/linux/errno.h index f9c0ceeac5e..72d8af6779a 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