git: 6efabdeede7f - main - LinuxKPI: Import linux/poison.h header

Vladimir Kondratyev wulf at FreeBSD.org
Wed Sep 29 20:27:42 UTC 2021


The branch main has been updated by wulf:

URL: https://cgit.FreeBSD.org/src/commit/?id=6efabdeede7f3aac4b133116a421f5a7a721e24c

commit 6efabdeede7f3aac4b133116a421f5a7a721e24c
Author:     Vladimir Kondratyev <wulf at FreeBSD.org>
AuthorDate: 2021-09-29 20:14:34 +0000
Commit:     Vladimir Kondratyev <wulf at FreeBSD.org>
CommitDate: 2021-09-29 20:14:34 +0000

    LinuxKPI: Import linux/poison.h header
    
    Required by drm-kmod 5.6
    
    Reviewed by:    hselasky, imp, manu
    MFC after:      2 weeks
    Obtained from:  OpenBSD
    Differential revision:  https://reviews.freebsd.org/D32092
---
 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


More information about the dev-commits-src-main mailing list