Logo
Explore Help
Sign In
ukui/kernel
0
0
Fork 0
You've already forked kernel
mirror of https://github.com/ukui/kernel.git synced 2026-03-09 10:07:04 -07:00
Code Issues Packages Projects Releases Wiki Activity
Files
da17066c40472c2d6a1aab7bb0090c3d285531c9
kernel/include/linux/irqhandler.h

15 lines
323 B
C
Raw Normal View History

genirq: Split out flow handler typedefs into seperate header file Required to avoid circular include dependencies. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2014-11-11 21:58:34 +01:00
#ifndef _LINUX_IRQHANDLER_H
#define _LINUX_IRQHANDLER_H
/*
* Interrupt flow handler typedefs are defined here to avoid circular
* include dependencies.
*/
struct irq_desc;
struct irq_data;
genirq: Remove irq argument from irq flow handlers Most interrupt flow handlers do not use the irq argument. Those few which use it can retrieve the irq number from the irq descriptor. Remove the argument. Search and replace was done with coccinelle and some extra helper scripts around it. Thanks to Julia for her help! Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Julia Lawall <Julia.Lawall@lip6.fr> Cc: Jiang Liu <jiang.liu@linux.intel.com>
2015-09-14 10:42:37 +02:00
typedef void (*irq_flow_handler_t)(struct irq_desc *desc);
genirq: Split out flow handler typedefs into seperate header file Required to avoid circular include dependencies. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2014-11-11 21:58:34 +01:00
typedef void (*irq_preflow_handler_t)(struct irq_data *data);
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Page: 635ms Template: 5ms
English
English
Licenses API