summaryrefslogtreecommitdiff
path: root/sys/external/bsd/drm2/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'sys/external/bsd/drm2/include/linux')
-rw-r--r--sys/external/bsd/drm2/include/linux/nbsd-namespace.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/external/bsd/drm2/include/linux/nbsd-namespace.h b/sys/external/bsd/drm2/include/linux/nbsd-namespace.h
index 84198a91c29..71bb2af7aa3 100644
--- a/sys/external/bsd/drm2/include/linux/nbsd-namespace.h
+++ b/sys/external/bsd/drm2/include/linux/nbsd-namespace.h
@@ -1,4 +1,4 @@
-/* $NetBSD: nbsd-namespace.h,v 1.2 2020/02/14 04:38:48 riastradh Exp $ */
+/* $NetBSD: nbsd-namespace.h,v 1.3 2021/12/19 09:59:22 riastradh Exp $ */
/*-
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -43,4 +43,7 @@
#define mutex_destroy linux_mutex_destroy
#define mutex_init linux_mutex_init
+/* Disable our historic malloc(9) compatibility macro. */
+#undef free
+
#endif /* _LINUX_NBSD_NAMESPACE_H_ */