sparc32: fix sparse warnings in sun4m_irq.c and sun4d_irq.c
Fix following warnings: sun4m_irq.c:308:6: warning: symbol 'sun4m_nmi' was not declared. Should it be static? sun4m_irq.c:396:28: warning: incorrect type in assignment (different address spaces) sun4m_irq.c:396:28: expected unsigned int volatile *extern [addressable] [toplevel] master_l10_counter sun4d_irq.c:469:28: warning: incorrect type in assignment (different address spaces) sun4d_irq.c:469:28: expected unsigned int volatile *extern [addressable] [toplevel] master_l10_counter master_l10_counter is a pointer to __iomem - add annotations. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
fcd0196b7e
commit
2b399177dc
@@ -82,6 +82,9 @@ void handler_irq(unsigned int pil, struct pt_regs *regs);
|
||||
|
||||
unsigned long leon_get_irqmask(unsigned int irq);
|
||||
|
||||
/* sun4m_irq.c */
|
||||
void sun4m_nmi(struct pt_regs *regs);
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
|
||||
/* All SUN4D IPIs are sent on this IRQ, may be shared with hard IRQs */
|
||||
|
Reference in New Issue
Block a user