parisc: irq: Add irq-related function declarations
Move function declarations for do_cpu_irq_mask(), timer_interrupt() and ipi_interrupt() to header file. Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
f310f8dd14
commit
bcfaf17f18
@ -292,6 +292,9 @@ extern void __noreturn toc_intr(struct pt_regs *regs);
|
||||
extern void toc_handler(void);
|
||||
extern unsigned int toc_handler_size;
|
||||
extern unsigned int toc_handler_csum;
|
||||
extern void do_cpu_irq_mask(struct pt_regs *);
|
||||
extern irqreturn_t timer_interrupt(int, void *);
|
||||
extern irqreturn_t ipi_interrupt(int, void *);
|
||||
|
||||
/* called from assembly code: */
|
||||
extern void start_parisc(void);
|
||||
|
@ -24,9 +24,6 @@
|
||||
|
||||
#undef PARISC_IRQ_CR16_COUNTS
|
||||
|
||||
extern irqreturn_t timer_interrupt(int, void *);
|
||||
extern irqreturn_t ipi_interrupt(int, void *);
|
||||
|
||||
#define EIEM_MASK(irq) (1UL<<(CPU_IRQ_MAX - irq))
|
||||
|
||||
/* Bits in EIEM correlate with cpu_irq_action[].
|
||||
@ -489,7 +486,7 @@ void do_softirq_own_stack(void)
|
||||
#endif /* CONFIG_IRQSTACKS */
|
||||
|
||||
/* ONLY called from entry.S:intr_extint() */
|
||||
void do_cpu_irq_mask(struct pt_regs *regs)
|
||||
asmlinkage void do_cpu_irq_mask(struct pt_regs *regs)
|
||||
{
|
||||
struct pt_regs *old_regs;
|
||||
unsigned long eirr_val;
|
||||
|
Loading…
Reference in New Issue
Block a user