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 arm32 build



details:   https://anonhg.NetBSD.org/src/rev/5d3bf8e173fc
branches:  trunk
changeset: 833709:5d3bf8e173fc
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Jul 09 09:13:20 2018 +0000

description:
Fix arm32 build

diffstat:

 sys/arch/arm/fdt/psci_fdt.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r fe26615ec7b8 -r 5d3bf8e173fc sys/arch/arm/fdt/psci_fdt.c
--- a/sys/arch/arm/fdt/psci_fdt.c       Mon Jul 09 09:11:21 2018 +0000
+++ b/sys/arch/arm/fdt/psci_fdt.c       Mon Jul 09 09:13:20 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: psci_fdt.c,v 1.7 2018/07/09 09:10:28 jmcneill Exp $ */
+/* $NetBSD: psci_fdt.c,v 1.8 2018/07/09 09:13:20 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.7 2018/07/09 09:10:28 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: psci_fdt.c,v 1.8 2018/07/09 09:13:20 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -169,6 +169,7 @@
        extern void aarch64_mpstart(void);
        return (register_t)aarch64_kern_vtophys(aarch64_mpstart);
 #else
+       extern void cortex_mpstart(void);
        return (register_t)cortex_mpstart;
 #endif
 }



Home | Main Index | Thread Index | Old Index