Commit 7d4a005c authored by Philippe Gerum's avatar Philippe Gerum Committed by Mike Frysinger

Blackfin/ipipe: fix forward ref to barrier()

Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
Signed-off-by: default avatarLi Yi <yi.li@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent d2685fb7
...@@ -33,6 +33,7 @@ static inline unsigned long bfin_cli(void) ...@@ -33,6 +33,7 @@ static inline unsigned long bfin_cli(void)
#ifdef CONFIG_IPIPE #ifdef CONFIG_IPIPE
#include <linux/compiler.h>
#include <linux/ipipe_base.h> #include <linux/ipipe_base.h>
#include <linux/ipipe_trace.h> #include <linux/ipipe_trace.h>
...@@ -49,12 +50,12 @@ static inline unsigned long bfin_cli(void) ...@@ -49,12 +50,12 @@ static inline unsigned long bfin_cli(void)
barrier(); \ barrier(); \
} while (0) } while (0)
static inline void raw_local_irq_enable(void) #define raw_local_irq_enable() \
{ do { \
barrier(); barrier(); \
ipipe_check_context(ipipe_root_domain); ipipe_check_context(ipipe_root_domain); \
__ipipe_unstall_root(); __ipipe_unstall_root(); \
} } while (0)
#define raw_local_save_flags_ptr(x) \ #define raw_local_save_flags_ptr(x) \
do { \ do { \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment