svn commit: r280248 - head/sys/contrib/vchiq/interface/vchiq_arm
Andrew Turner
andrew at FreeBSD.org
Thu Mar 19 11:34:52 UTC 2015
Author: andrew
Date: Thu Mar 19 11:34:51 2015
New Revision: 280248
URL: https://svnweb.freebsd.org/changeset/base/280248
Log:
Use the dsb macro to use the correct instruction when building for ARMv7.
Modified:
head/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c
Modified: head/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c
==============================================================================
--- head/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c Thu Mar 19 11:24:07 2015 (r280247)
+++ head/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c Thu Mar 19 11:34:51 2015 (r280248)
@@ -112,7 +112,7 @@ remote_event_signal(REMOTE_EVENT_T *even
has completed */
if (event->armed) {
/* trigger vc interrupt */
- __asm __volatile ("mcr p15, 0, %0, c7, c10, 4" : : "r" (0) : "memory");
+ dsb();
vchiq_write_4(0x48, 0);
}
}
More information about the svn-src-all
mailing list