X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-m68knommu%2Firq.h;h=20c48ec858a4e785d6e480b5957d08ad1f6dd811;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=45e7a2fd16893b0b830da7868e15dc3a7268316f;hpb=3944158a6d33f94668dbd6bdc32ff5c67bb53ec2;p=linux-2.6.git diff --git a/include/asm-m68knommu/irq.h b/include/asm-m68knommu/irq.h index 45e7a2fd1..20c48ec85 100644 --- a/include/asm-m68knommu/irq.h +++ b/include/asm-m68knommu/irq.h @@ -1,6 +1,7 @@ #ifndef _M68K_IRQ_H_ #define _M68K_IRQ_H_ +#include #include #ifdef CONFIG_COLDFIRE @@ -62,8 +63,8 @@ extern void (*mach_disable_irq)(unsigned int); /* * various flags for request_irq() - the Amiga now uses the standard - * mechanism like all other architectures - IRQF_DISABLED and - * IRQF_SHARED are your friends. + * mechanism like all other architectures - SA_INTERRUPT and SA_SHIRQ + * are your friends. */ #define IRQ_FLG_LOCK (0x0001) /* handler is not replaceable */ #define IRQ_FLG_REPLACE (0x0002) /* replace existing handler */ @@ -83,8 +84,12 @@ extern void (*mach_disable_irq)(unsigned int); /* * Some drivers want these entry points */ -#define enable_irq(x) do { } while (0) +#define enable_irq(x) 0 #define disable_irq(x) do { } while (0) #define disable_irq_nosync(x) disable_irq(x) +struct irqaction; +struct pt_regs; +int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *); + #endif /* _M68K_IRQ_H_ */