Skip to content

Commit

Permalink
Blackfin/ipipe: fix forward ref to barrier()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Philippe Gerum authored and Mike Frysinger committed Dec 15, 2009
1 parent d2685fb commit 7d4a005
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions arch/blackfin/include/asm/irqflags.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand All @@ -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 { \
Expand Down

0 comments on commit 7d4a005

Please sign in to comment.