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 Fix non-MULTIPROCESSOR build
details: https://anonhg.NetBSD.org/src/rev/5fdda2e49bd1
branches: trunk
changeset: 991448:5fdda2e49bd1
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Jul 14 15:06:05 2018 +0000
description:
Fix non-MULTIPROCESSOR build
diffstat:
sys/arch/arm/fdt/psci_fdt.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 061207460681 -r 5fdda2e49bd1 sys/arch/arm/fdt/psci_fdt.c
--- a/sys/arch/arm/fdt/psci_fdt.c Sat Jul 14 14:56:02 2018 +0000
+++ b/sys/arch/arm/fdt/psci_fdt.c Sat Jul 14 15:06:05 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: psci_fdt.c,v 1.8 2018/07/09 09:13:20 jmcneill Exp $ */
+/* $NetBSD: psci_fdt.c,v 1.9 2018/07/14 15:06:05 jmcneill Exp $ */
/*-
* Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: psci_fdt.c,v 1.8 2018/07/09 09:13:20 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: psci_fdt.c,v 1.9 2018/07/14 15:06:05 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -153,6 +153,7 @@
return psci_fdt_init(phandle);
}
+#ifdef MULTIPROCESSOR
static bus_addr_t psci_fdt_read_mpidr_aff(void)
{
#ifdef __aarch64__
@@ -173,6 +174,7 @@
return (register_t)cortex_mpstart;
#endif
}
+#endif
void
psci_fdt_bootstrap(void)
Home |
Main Index |
Thread Index |
Old Index