svn commit: r230810 - projects/armv6/sys/arm/arm
Grzegorz Bernacki
gber at FreeBSD.org
Tue Jan 31 15:23:46 UTC 2012
Author: gber
Date: Tue Jan 31 15:23:45 2012
New Revision: 230810
URL: http://svn.freebsd.org/changeset/base/230810
Log:
Remove unnecessary clean and invalidate cache operations
Submitted by: Lukasz Plachno
Obtained from: Marvell, Semihalf
Modified:
projects/armv6/sys/arm/arm/mp_machdep.c
Modified: projects/armv6/sys/arm/arm/mp_machdep.c
==============================================================================
--- projects/armv6/sys/arm/arm/mp_machdep.c Tue Jan 31 15:19:02 2012 (r230809)
+++ projects/armv6/sys/arm/arm/mp_machdep.c Tue Jan 31 15:23:45 2012 (r230810)
@@ -270,10 +270,10 @@ release_aps(void *dummy __unused)
arm_unmask_irq(0);
atomic_store_rel_int(&aps_ready, 1);
- cpu_dcache_wbinv_all();
+
printf("Release APs\n");
+
while (smp_started == 0) {
- cpu_dcache_wbinv_all();
DELAY(5000);
}
}
More information about the svn-src-projects
mailing list