aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2022-06-23 07:51:34 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2022-06-29 07:54:57 +0000
commit8730ba418e050f622c32766562366729b4d775ad (patch)
tree5406ce8da5a80254ac7bc851cb6c66be20d72304
parent088b746cbda664602f9cee0d1415ae8d98389f38 (diff)
downloadsrc-8730ba418e050f622c32766562366729b4d775ad.tar.gz
src-8730ba418e050f622c32766562366729b4d775ad.zip
linuxkpi: Add kmemleak.h
Provide macros needed for drm-kmod. Obtain from: OpenBSD (via drm-kmod) MFC after: 1 week Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D35564
-rw-r--r--sys/compat/linuxkpi/common/include/linux/kmemleak.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/kmemleak.h b/sys/compat/linuxkpi/common/include/linux/kmemleak.h
new file mode 100644
index 000000000000..7007e72718c7
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/linux/kmemleak.h
@@ -0,0 +1,8 @@
+/* Public domain. */
+
+#ifndef _LINUXKPI_LINUX_KMEMLEAK_H_
+#define _LINUXKPI_LINUX_KMEMLEAK_H_
+
+#define kmemleak_update_trace(x)
+
+#endif /* _LINUXKPI_LINUX_KMEMLEAK_H_ */