diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-05-07 02:55:41 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-05-07 02:55:41 +0000 |
commit | dcec8a13bf565e47942a1751a9cec21bec5648fe (patch) | |
tree | 548b69625b18cc2e88c3e68d0923be546c9ebb03 /include/asm-arm/arch-ebsa285/irq.h | |
parent | 2e0f55e79c49509b7ff70ff1a10e1e9e90a3dfd4 (diff) |
o Merge with Linux 2.1.99.
o Fix ancient bug in the ELF loader making ldd crash.
o Fix ancient bug in the keyboard code for SGI, SNI and Jazz.
Diffstat (limited to 'include/asm-arm/arch-ebsa285/irq.h')
-rw-r--r-- | include/asm-arm/arch-ebsa285/irq.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/asm-arm/arch-ebsa285/irq.h b/include/asm-arm/arch-ebsa285/irq.h new file mode 100644 index 000000000..ece9464cd --- /dev/null +++ b/include/asm-arm/arch-ebsa285/irq.h @@ -0,0 +1,34 @@ +/* + * include/asm-arm/arch-ebsa110/irq.h + * + * Copyright (C) 1996,1997,1998 Russell King + */ + +static __inline__ void mask_and_ack_irq(unsigned int irq) +{ + if (irq < 32) + *CSR_IRQ_DISABLE = 1 << irq; +} + +static __inline__ void mask_irq(unsigned int irq) +{ + if (irq < 32) + *CSR_IRQ_DISABLE = 1 << irq; +} + +static __inline__ void unmask_irq(unsigned int irq) +{ + if (irq < 32) + *CSR_IRQ_ENABLE = 1 << irq; +} + +static __inline__ unsigned long get_enabled_irqs(void) +{ + return 0; +} + +static __inline__ void irq_init_irq(void) +{ + *CSR_IRQ_DISABLE = -1; + *CSR_FIQ_DISABLE = -1; +} |