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
bfba2b3e21b9426c0f9aca00f3cad8631b2da170
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: 544ms Template: 4ms
English
English
Licenses API