mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 11:51:27 +00:00
bae1d8f199
This patch drops the powerpc-specific irq_host structures and uses the common irq_domain strucutres defined in linux/irqdomain.h. It also fixes all the users to use the new structure names. Renaming irq_host to irq_domain has been discussed for a long time, and this patch is a step in the process of generalizing the powerpc virq code to be usable by all architecture. An astute reader will notice that this patch actually removes the irq_host structure instead of renaming it. This is because the irq_domain structure already exists in include/linux/irqdomain.h and has the needed data members. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Milton Miller <miltonm@bga.com> Tested-by: Olof Johansson <olof@lixom.net>
13 lines
322 B
C
13 lines
322 B
C
#ifndef _ASM_POWERPC_I8259_H
|
|
#define _ASM_POWERPC_I8259_H
|
|
#ifdef __KERNEL__
|
|
|
|
#include <linux/irq.h>
|
|
|
|
extern void i8259_init(struct device_node *node, unsigned long intack_addr);
|
|
extern unsigned int i8259_irq(void);
|
|
extern struct irq_domain *i8259_get_host(void);
|
|
|
|
#endif /* __KERNEL__ */
|
|
#endif /* _ASM_POWERPC_I8259_H */
|