#ifndef __ASM_GENERIC_IRQFLAGS_H #define __ASM_GENERIC_IRQFLAGS_H /* * All architectures should implement at least the first two functions, * usually inline assembly will be the best way. */ #ifndef ARCH_IRQ_DISABLED #define ARCH_IRQ_DISABLED 0 #define ARCH_IRQ_ENABLED 1 #endif /* read interrupt enabled status */ #ifndef arch_local_save_flags unsigned long arch_local_save_flags(void); #endif /* set interrupt enabled status */ #ifndef arch_local_irq_restore void arch_local_irq_restore(unsigned long flags); #endif /* get status and disable interrupts */ #ifndef arch_local_irq_save
static inline unsigned long arch_local_irq_save(void) { unsigned long flags; flags = arch_local_save_flags(); arch_local_irq_restore(ARCH_IRQ_DISABLED); return flags; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
arnd bergmann | arnd bergmann | 23 | 85.19% | 1 | 50.00% |
david howells | david howells | 4 | 14.81% | 1 | 50.00% |
Total | 27 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
arnd bergmann | arnd bergmann | 14 | 87.50% | 1 | 50.00% |
david howells | david howells | 2 | 12.50% | 1 | 50.00% |
Total | 16 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
arnd bergmann | arnd bergmann | 11 | 78.57% | 1 | 50.00% |
david howells | david howells | 3 | 21.43% | 1 | 50.00% |
Total | 14 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
arnd bergmann | arnd bergmann | 11 | 78.57% | 1 | 50.00% |
david howells | david howells | 3 | 21.43% | 1 | 50.00% |
Total | 14 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
arnd bergmann | arnd bergmann | 13 | 81.25% | 1 | 50.00% |
david howells | david howells | 3 | 18.75% | 1 | 50.00% |
Total | 16 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
arnd bergmann | arnd bergmann | 140 | 83.83% | 1 | 50.00% |
david howells | david howells | 27 | 16.17% | 1 | 50.00% |
Total | 167 | 100.00% | 2 | 100.00% |