mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 07:26:41 +07:00
f9bd170a87
This changes the parameters for i8259_init so that it takes two parameters: a physical address for generating an interrupt acknowledge cycle, and an interrupt number offset. i8259_init now sets the irq_desc[] for its interrupts; all the callers were doing this, and that code is gone now. This also defines a CONFIG_PPC_I8259 symbol to select i8259.o for inclusion, and makes the platforms that need it select that symbol. Signed-off-by: Paul Mackerras <paulus@samba.org>
13 lines
335 B
C
13 lines
335 B
C
#ifndef _ASM_POWERPC_I8259_H
|
|
#define _ASM_POWERPC_I8259_H
|
|
|
|
#include <linux/irq.h>
|
|
|
|
extern struct hw_interrupt_type i8259_pic;
|
|
|
|
extern void i8259_init(unsigned long intack_addr, int offset);
|
|
extern int i8259_irq(struct pt_regs *regs);
|
|
extern int i8259_irq_cascade(struct pt_regs *regs, void *unused);
|
|
|
|
#endif /* _ASM_POWERPC_I8259_H */
|