Use the dsb macro to use the correct instruction when building for ARMv7.

This commit is contained in:
Andrew Turner 2015-03-19 11:34:51 +00:00
parent 28d507fcec
commit 2fb34dae14
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=280248

View File

@ -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);
}
}