mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 09:22:37 +00:00
46acb55b4b
Move the only thing that was actually implemented and used in asm/intc.h, intc_get_pending(), into asm/irq.h and delete asm/intc.h Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
25 lines
435 B
C
25 lines
435 B
C
#ifndef __ASM_AVR32_IRQ_H
|
|
#define __ASM_AVR32_IRQ_H
|
|
|
|
#define NR_INTERNAL_IRQS 64
|
|
|
|
#include <asm/arch/irq.h>
|
|
|
|
#ifndef NR_IRQS
|
|
#define NR_IRQS (NR_INTERNAL_IRQS)
|
|
#endif
|
|
|
|
#define irq_canonicalize(i) (i)
|
|
|
|
#ifndef __ASSEMBLER__
|
|
int nmi_enable(void);
|
|
void nmi_disable(void);
|
|
|
|
/*
|
|
* Returns a bitmask of pending interrupts in a group.
|
|
*/
|
|
extern unsigned long intc_get_pending(unsigned int group);
|
|
#endif
|
|
|
|
#endif /* __ASM_AVR32_IOCTLS_H */
|