Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212349
b: refs/heads/master
c: 5c74874
h: refs/heads/master
i:
  212347: 450714e
v: v3
  • Loading branch information
David Howells committed Oct 7, 2010
1 parent 708fbce commit e89bb97
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: db36b906fefa5b95039bd418bc354ffc9b141020
refs/heads/master: 5c74874bc9a838b185fe463153e63f7d895ebb77
9 changes: 8 additions & 1 deletion trunk/arch/blackfin/include/asm/irqflags.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#ifndef __ASM_BFIN_IRQFLAGS_H__
#define __ASM_BFIN_IRQFLAGS_H__

#include <mach/blackfin.h>

#ifdef CONFIG_SMP
# include <asm/pda.h>
# include <asm/processor.h>
Expand Down Expand Up @@ -185,7 +187,12 @@ static inline void raw_local_irq_enable(void)
bfin_sti(bfin_irq_flags);
}

#define raw_local_save_flags(flags) do { (flags) = bfin_read_IMASK(); } while (0)
static inline unsigned long arch_local_save_flags(void)
{
return bfin_read_IMASK();
}

#define raw_local_save_flags(flags) do { (flags) = arch_local_save_flags(); } while (0)

#define raw_irqs_disabled_flags(flags) (((flags) & ~0x3f) == 0)

Expand Down

0 comments on commit e89bb97

Please sign in to comment.