git: 0ed3a19a3896 - stable/13 - LinuxKPI: Import linux/poison.h header
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Oct 2021 09:19:17 UTC
The branch stable/13 has been updated by wulf:
URL: https://cgit.FreeBSD.org/src/commit/?id=0ed3a19a3896806cbbb5c2eb3abd6e3c473941bb
commit 0ed3a19a3896806cbbb5c2eb3abd6e3c473941bb
Author: Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2021-09-29 20:14:34 +0000
Commit: Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2021-10-13 09:04:11 +0000
LinuxKPI: Import linux/poison.h header
Required by drm-kmod 5.6
Reviewed by: hselasky, imp, manu
Obtained from: OpenBSD
Differential revision: https://reviews.freebsd.org/D32092
(cherry picked from commit 6efabdeede7f3aac4b133116a421f5a7a721e24c)
---
sys/compat/linuxkpi/common/include/linux/poison.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/poison.h b/sys/compat/linuxkpi/common/include/linux/poison.h
new file mode 100644
index 000000000000..35ccb5b5499a
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/linux/poison.h
@@ -0,0 +1,9 @@
+/* Public domain. */
+
+#ifndef _LINUX_POISON_H
+#define _LINUX_POISON_H
+
+#define POISON_INUSE 0xdb
+#define POISON_FREE 0xdf
+
+#endif