mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 21:23:23 +00:00
Blackfin/ipipe: fix forward ref to barrier()
Signed-off-by: Philippe Gerum <rpm@xenomai.org> Signed-off-by: Li Yi <yi.li@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
d2685fb7b4
commit
7d4a005c43
@ -33,6 +33,7 @@ static inline unsigned long bfin_cli(void)
|
||||
|
||||
#ifdef CONFIG_IPIPE
|
||||
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/ipipe_base.h>
|
||||
#include <linux/ipipe_trace.h>
|
||||
|
||||
@ -49,12 +50,12 @@ static inline unsigned long bfin_cli(void)
|
||||
barrier(); \
|
||||
} while (0)
|
||||
|
||||
static inline void raw_local_irq_enable(void)
|
||||
{
|
||||
barrier();
|
||||
ipipe_check_context(ipipe_root_domain);
|
||||
__ipipe_unstall_root();
|
||||
}
|
||||
#define raw_local_irq_enable() \
|
||||
do { \
|
||||
barrier(); \
|
||||
ipipe_check_context(ipipe_root_domain); \
|
||||
__ipipe_unstall_root(); \
|
||||
} while (0)
|
||||
|
||||
#define raw_local_save_flags_ptr(x) \
|
||||
do { \
|
||||
|
Loading…
x
Reference in New Issue
Block a user