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/baafc91104f8
branches:  trunk
changeset: 363053:baafc91104f8
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 b7172b6e8b3b -r baafc91104f8 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