summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2015-03-19 11:34:51 +0000
committerandrew <andrew@FreeBSD.org>2015-03-19 11:34:51 +0000
commitfa83f1799e0ca992e5c09f55cfb48883ad1565b9 (patch)
tree0df401284a2427636e9f53f8d32be44fe7380a89 /sys/contrib
parenta68ab2f73562e623402966189cd9dcf7a08d0051 (diff)
downloadFreeBSD-src-fa83f1799e0ca992e5c09f55cfb48883ad1565b9.zip
FreeBSD-src-fa83f1799e0ca992e5c09f55cfb48883ad1565b9.tar.gz
Use the dsb macro to use the correct instruction when building for ARMv7.
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c b/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c
index 6931c89..9f282c7 100644
--- a/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c
+++ b/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c
@@ -112,7 +112,7 @@ remote_event_signal(REMOTE_EVENT_T *event)
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);
}
}
OpenPOWER on IntegriCloud