OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-arm/] [irq.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
#ifndef __ASM_ARM_IRQ_H
2
#define __ASM_ARM_IRQ_H
3
 
4
#include <asm/arch/irqs.h>
5
 
6
#ifndef irq_cannonicalize
7
#define irq_cannonicalize(i)    (i)
8
#endif
9
 
10
#ifndef NR_IRQS
11
#define NR_IRQS 128
12
#endif
13
 
14
/*
15
 * Use this value to indicate lack of interrupt
16
 * capability
17
 */
18
#ifndef NO_IRQ
19
#define NO_IRQ  ((unsigned int)(-1))
20
#endif
21
 
22
#define disable_irq_nosync(i) disable_irq(i)
23
 
24
extern void disable_irq(unsigned int);
25
extern void enable_irq(unsigned int);
26
 
27
#endif
28
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.