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;" \
28 #define raw_local_irq_restore(x) \
30 __asm__ __volatile__( \
47 #define raw_local_irq_enable(void) \
49 __asm__ __volatile__( \
65 #define raw_local_irq_disable(void) \
67 __asm__ __volatile__( \
84 #define raw_local_save_flags(x) \
86 __asm__ __volatile__( \
104 static inline int raw_irqs_disabled_flags(unsigned long flags
)
111 #endif /* _ASM_SCORE_IRQFLAGS_H */