mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
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 <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Milton Miller <[email protected]> Tested-by: Olof Johansson <[email protected]>
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 */
|