Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/pic decouple pic_ipi_kpreempt() from DDB
details: https://anonhg.NetBSD.org/src/rev/d926b5779863
branches: trunk
changeset: 356060:d926b5779863
user: nisimura <nisimura%NetBSD.org@localhost>
date: Tue Aug 29 22:57:05 2017 +0000
description:
decouple pic_ipi_kpreempt() from DDB
diffstat:
sys/arch/arm/pic/pic.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r f2a50de56e6b -r d926b5779863 sys/arch/arm/pic/pic.c
--- a/sys/arch/arm/pic/pic.c Tue Aug 29 20:53:56 2017 +0000
+++ b/sys/arch/arm/pic/pic.c Tue Aug 29 22:57:05 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pic.c,v 1.38 2017/08/25 20:36:16 jmcneill Exp $ */
+/* $NetBSD: pic.c,v 1.39 2017/08/29 22:57:05 nisimura Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -33,7 +33,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.38 2017/08/25 20:36:16 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.39 2017/08/29 22:57:05 nisimura Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -159,6 +159,7 @@
kdb_trap(-1, arg);
return 1;
}
+#endif /* DDB */
#ifdef __HAVE_PREEMPTION
int
@@ -167,8 +168,7 @@
atomic_or_uint(&curcpu()->ci_astpending, __BIT(1));
return 1;
}
-#endif
-#endif /* MULTIPROCESSOR */
+#endif /* __HAVE_PREEMPTION */
void
intr_cpu_init(struct cpu_info *ci)
Home |
Main Index |
Thread Index |
Old Index