Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm #ifdef whack-a-mole
details: https://anonhg.NetBSD.org/src/rev/b8cd3028cb4b
branches: trunk
changeset: 356001:b8cd3028cb4b
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Aug 27 11:44:49 2017 +0000
description:
#ifdef whack-a-mole
diffstat:
sys/arch/arm/arm/cpufunc.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 9c148fd39b7f -r b8cd3028cb4b sys/arch/arm/arm/cpufunc.c
--- a/sys/arch/arm/arm/cpufunc.c Sun Aug 27 10:39:18 2017 +0000
+++ b/sys/arch/arm/arm/cpufunc.c Sun Aug 27 11:44:49 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpufunc.c,v 1.165 2017/08/26 07:17:12 skrll Exp $ */
+/* $NetBSD: cpufunc.c,v 1.166 2017/08/27 11:44:49 skrll Exp $ */
/*
* arm7tdmi support code Copyright (c) 2001 John Fremlin
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.165 2017/08/26 07:17:12 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.166 2017/08/27 11:44:49 skrll Exp $");
#include "opt_compat_netbsd.h"
#include "opt_cpuoptions.h"
@@ -1764,6 +1764,7 @@
#endif /* ARM2 || ARM250 || ARM3 || ARM6 || ARM7 || SA110 || SA1100 || SA1111 || IXP12X0 */
+#if defined(CPU_CORTEX) || defined(CPU_PJ4B)
static inline void
set_cpufuncs_mpfixup(void)
{
@@ -1780,6 +1781,7 @@
}
#endif
}
+#endif
/*
* Cannot panic here as we may not have a console yet ...
Home |
Main Index |
Thread Index |
Old Index