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 Use arm_dmb. No functional change
details: https://anonhg.NetBSD.org/src/rev/2fee71d339da
branches: trunk
changeset: 338665:2fee71d339da
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Jun 03 11:43:18 2015 +0000
description:
Use arm_dmb. No functional change
diffstat:
sys/arch/arm/nvidia/soc_tegra124.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 279008068659 -r 2fee71d339da sys/arch/arm/nvidia/soc_tegra124.c
--- a/sys/arch/arm/nvidia/soc_tegra124.c Wed Jun 03 11:38:33 2015 +0000
+++ b/sys/arch/arm/nvidia/soc_tegra124.c Wed Jun 03 11:43:18 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: soc_tegra124.c,v 1.5 2015/05/31 14:42:56 jmcneill Exp $ */
+/* $NetBSD: soc_tegra124.c,v 1.6 2015/06/03 11:43:18 skrll Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -30,7 +30,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: soc_tegra124.c,v 1.5 2015/05/31 14:42:56 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: soc_tegra124.c,v 1.6 2015/06/03 11:43:18 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -150,7 +150,7 @@
tegra_pmc_power(PMC_PARTID_CPU3, true); started |= __BIT(3);
for (u_int i = 0x10000000; i > 0; i--) {
- __asm __volatile("dmb" ::: "memory");
+ arm_dmb();
if (arm_cpu_hatched == started)
break;
}
Home |
Main Index |
Thread Index |
Old Index