Subversion Repositories shark

Rev

Rev 1618 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
629 giacomo 1
#ifndef __INTERRUPT__
2
#define __INTERRUPT__
3
 
4
#include <linux/compatib.h>
1621 fabio 5
#include <arch/sys/cdefs.h>
629 giacomo 6
 
7
__BEGIN_DECLS
8
 
9
#define NR_IRQS 128
10
 
11
int request_irq(unsigned int irq, void (*handler)(int, void *dev_id, struct pt_regs *), unsigned long flags, const char *device, void *dev_id);
12
 
13
#define disable_irq_nosync(i) irq_mask(i)
14
#define disable_irq(i)  irq_mask(i)
15
#define enable_irq(i)   irq_unmask(i)
16
 
17
void free_irq(unsigned int irq, void *d);
18
 
19
__END_DECLS
20
#endif