mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +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
1 changed files with 7 additions and 6 deletions
|
@ -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…
Reference in a new issue