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 don't consider #define CONFIG...
details: https://anonhg.NetBSD.org/src/rev/bc0d906e4980
branches: trunk
changeset: 1028224:bc0d906e4980
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 09:51:50 2021 +0000
description:
don't consider #define CONFIG_LOCKDEP 0 to be enabling lockdep
Author: Maya Rashish <maya%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/dist/drm/drm_connector.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ccbb18179e02 -r bc0d906e4980 sys/external/bsd/drm2/dist/drm/drm_connector.c
--- a/sys/external/bsd/drm2/dist/drm/drm_connector.c Sun Dec 19 09:51:41 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_connector.c Sun Dec 19 09:51:50 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_connector.c,v 1.4 2021/12/19 01:02:10 riastradh Exp $ */
+/* $NetBSD: drm_connector.c,v 1.5 2021/12/19 09:51:50 riastradh Exp $ */
/*
* Copyright (c) 2016 Intel Corporation
@@ -23,7 +23,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_connector.c,v 1.4 2021/12/19 01:02:10 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_connector.c,v 1.5 2021/12/19 09:51:50 riastradh Exp $");
#include <drm/drm_connector.h>
#include <drm/drm_edid.h>
@@ -630,7 +630,7 @@
}
}
-#ifdef CONFIG_LOCKDEP
+#if IS_ENABLED(CONFIG_LOCKDEP)
static struct lockdep_map connector_list_iter_dep_map = {
.name = "drm_connector_list_iter"
};
Home |
Main Index |
Thread Index |
Old Index