summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-blackfin/io.h')
-rw-r--r--include/asm-blackfin/io.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-blackfin/io.h b/include/asm-blackfin/io.h
index e5b388e262..fc27194a42 100644
--- a/include/asm-blackfin/io.h
+++ b/include/asm-blackfin/io.h
@@ -25,6 +25,11 @@
#ifndef _BLACKFIN_IO_H
#define _BLACKFIN_IO_H
+static inline void sync(void)
+{
+ __asm__ __volatile__ asm("ssync" : : : "memory");
+}
+
#ifdef __KERNEL__
#include <linux/config.h>