Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/nvidia Add missing call to arm_fdt_cpu_mpstart, ...
details: https://anonhg.NetBSD.org/src/rev/829e453f9883
branches: trunk
changeset: 837695:829e453f9883
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Dec 15 13:17:12 2018 +0000
description:
Add missing call to arm_fdt_cpu_mpstart, fixes SMP on Tegra X1
diffstat:
sys/arch/arm/nvidia/tegra_platform.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (38 lines):
diff -r fcb34211b216 -r 829e453f9883 sys/arch/arm/nvidia/tegra_platform.c
--- a/sys/arch/arm/nvidia/tegra_platform.c Sat Dec 15 13:09:02 2018 +0000
+++ b/sys/arch/arm/nvidia/tegra_platform.c Sat Dec 15 13:17:12 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_platform.c,v 1.18 2018/10/30 16:41:52 skrll Exp $ */
+/* $NetBSD: tegra_platform.c,v 1.19 2018/12/15 13:17:12 jmcneill Exp $ */
/*-
* Copyright (c) 2017 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -34,7 +34,7 @@
#include "ukbd.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_platform.c,v 1.18 2018/10/30 16:41:52 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_platform.c,v 1.19 2018/12/15 13:17:12 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -126,6 +126,10 @@
{
tegra_bootstrap();
+
+#if defined(MULTIPROCESSOR) && defined(__aarch64__)
+ arm_fdt_cpu_bootstrap();
+#endif
}
static void
@@ -133,7 +137,7 @@
{
#if defined(MULTIPROCESSOR) && defined(__aarch64__)
- arm_fdt_cpu_bootstrap();
+ arm_fdt_cpu_mpstart();
#endif
}
#endif
Home |
Main Index |
Thread Index |
Old Index