Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/drm/radeon Ifdef out a symbol_put...
details: https://anonhg.NetBSD.org/src/rev/772c5d6d72dd
branches: trunk
changeset: 992788:772c5d6d72dd
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 07:48:07 2018 +0000
description:
Ifdef out a symbol_put that we won't be using.
diffstat:
sys/external/bsd/drm2/dist/drm/radeon/radeon_kfd.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r afa41d82dc4f -r 772c5d6d72dd sys/external/bsd/drm2/dist/drm/radeon/radeon_kfd.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_kfd.c Mon Aug 27 07:47:55 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_kfd.c Mon Aug 27 07:48:07 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: radeon_kfd.c,v 1.4 2018/08/27 06:45:07 riastradh Exp $ */
+/* $NetBSD: radeon_kfd.c,v 1.5 2018/08/27 07:48:07 riastradh Exp $ */
/*
* Copyright 2014 Advanced Micro Devices, Inc.
@@ -23,7 +23,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_kfd.c,v 1.4 2018/08/27 06:45:07 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_kfd.c,v 1.5 2018/08/27 07:48:07 riastradh Exp $");
#include <linux/module.h>
#include <linux/fdtable.h>
@@ -172,7 +172,9 @@
{
if (kgd2kfd) {
kgd2kfd->exit();
+#ifdef CONFIG_HSA_AMD_MODULE
symbol_put(kgd2kfd_init);
+#endif
}
}
Home |
Main Index |
Thread Index |
Old Index