diff --git a/sys/dev/sym/sym_hipd.c b/sys/dev/sym/sym_hipd.c index 0150849e3201..7d0450c2e41a 100644 --- a/sys/dev/sym/sym_hipd.c +++ b/sys/dev/sym/sym_hipd.c @@ -86,6 +86,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #ifdef __sparc64__ #include @@ -136,7 +137,7 @@ typedef u_int32_t u32; #elif defined __sparc64__ #define MEMORY_BARRIER() __asm__ volatile("membar #Sync" : : : "memory") #elif defined __arm__ -#define MEMORY_BARRIER() __do_dmb() +#define MEMORY_BARRIER() dmb() #else #error "Not supported platform" #endif