Skip to content

Commit bcfaf17

Browse files
committed
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 <[email protected]>
1 parent f310f8d commit bcfaf17

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

arch/parisc/include/asm/processor.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,9 @@ extern void __noreturn toc_intr(struct pt_regs *regs);
292292
extern void toc_handler(void);
293293
extern unsigned int toc_handler_size;
294294
extern unsigned int toc_handler_csum;
295+
extern void do_cpu_irq_mask(struct pt_regs *);
296+
extern irqreturn_t timer_interrupt(int, void *);
297+
extern irqreturn_t ipi_interrupt(int, void *);
295298

296299
/* called from assembly code: */
297300
extern void start_parisc(void);

arch/parisc/kernel/irq.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424

2525
#undef PARISC_IRQ_CR16_COUNTS
2626

27-
extern irqreturn_t timer_interrupt(int, void *);
28-
extern irqreturn_t ipi_interrupt(int, void *);
29-
3027
#define EIEM_MASK(irq) (1UL<<(CPU_IRQ_MAX - irq))
3128

3229
/* Bits in EIEM correlate with cpu_irq_action[].
@@ -489,7 +486,7 @@ void do_softirq_own_stack(void)
489486
#endif /* CONFIG_IRQSTACKS */
490487

491488
/* ONLY called from entry.S:intr_extint() */
492-
void do_cpu_irq_mask(struct pt_regs *regs)
489+
asmlinkage void do_cpu_irq_mask(struct pt_regs *regs)
493490
{
494491
struct pt_regs *old_regs;
495492
unsigned long eirr_val;

0 commit comments

Comments
 (0)