Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/fdt Wrap arm_fdt_cpu_okay with #ifdef MULTIPROC...
details: https://anonhg.NetBSD.org/src/rev/cc05a88e1106
branches: trunk
changeset: 835847:cc05a88e1106
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Sep 13 12:53:00 2018 +0000
description:
Wrap arm_fdt_cpu_okay with #ifdef MULTIPROCESSOR
diffstat:
sys/arch/arm/fdt/cpu_fdt.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 8f2539c7506d -r cc05a88e1106 sys/arch/arm/fdt/cpu_fdt.c
--- a/sys/arch/arm/fdt/cpu_fdt.c Thu Sep 13 09:03:40 2018 +0000
+++ b/sys/arch/arm/fdt/cpu_fdt.c Thu Sep 13 12:53:00 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_fdt.c,v 1.13 2018/09/10 19:15:16 jmcneill Exp $ */
+/* $NetBSD: cpu_fdt.c,v 1.14 2018/09/13 12:53:00 jmcneill Exp $ */
/*-
* Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -30,7 +30,7 @@
#include "psci_fdt.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu_fdt.c,v 1.13 2018/09/10 19:15:16 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_fdt.c,v 1.14 2018/09/13 12:53:00 jmcneill Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -205,6 +205,7 @@
}
#endif /* MULTIPROCESSOR */
+#ifdef MULTIPROCESSOR
static bool
arm_fdt_cpu_okay(const int child)
{
@@ -225,6 +226,7 @@
return true;
}
}
+#endif /* MULTIPROCESSOR */
void
arm_fdt_cpu_bootstrap(void)
Home |
Main Index |
Thread Index |
Old Index