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/include/linux Can't and needn't xcall ...
details: https://anonhg.NetBSD.org/src/rev/f93e637de4a7
branches: trunk
changeset: 366159:f93e637de4a7
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 13:37:37 2018 +0000
description:
Can't and needn't xcall while cold.
diffstat:
sys/external/bsd/drm2/include/linux/hardirq.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 3dc3b0dfab76 -r f93e637de4a7 sys/external/bsd/drm2/include/linux/hardirq.h
--- a/sys/external/bsd/drm2/include/linux/hardirq.h Mon Aug 27 13:37:21 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/hardirq.h Mon Aug 27 13:37:37 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hardirq.h,v 1.1 2018/08/27 07:14:42 riastradh Exp $ */
+/* $NetBSD: hardirq.h,v 1.2 2018/08/27 13:37:37 riastradh Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -33,6 +33,7 @@
#define _LINUX_HARDIRQ_H_
#include <sys/types.h>
+#include <sys/kernel.h>
#include <sys/null.h>
#include <sys/xcall.h>
@@ -53,7 +54,8 @@
synchronize_irq(int irq)
{
- xc_wait(xc_broadcast(0, synchronize_irq_xc, NULL, NULL));
+ if (!cold)
+ xc_wait(xc_broadcast(0, synchronize_irq_xc, NULL, NULL));
}
#endif /* _LINUX_HARDIRQ_H_ */
Home |
Main Index |
Thread Index |
Old Index