1 #ifndef _ASM_SCORE_IRQFLAGS_H
2 #define _ASM_SCORE_IRQFLAGS_H
6 #define raw_local_irq_save(x) \
8 __asm__ __volatile__( \
10 "li r9, 0xfffffffe;" \
26 #define raw_local_irq_restore(x) \
28 __asm__ __volatile__( \
45 #define raw_local_irq_enable(void) \
47 __asm__ __volatile__( \
63 #define raw_local_irq_disable(void) \
65 __asm__ __volatile__( \
82 #define raw_local_save_flags(x) \
84 __asm__ __volatile__( \
102 static inline int raw_irqs_disabled_flags(unsigned long flags
)
109 #endif /* _ASM_SCORE_IRQFLAGS_H */