sparc32: fix sparse warnings in sun4m_irq.c and sun4d_irq.c
authorSam Ravnborg <sam@ravnborg.org>
Mon, 21 Apr 2014 19:39:22 +0000 (21:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Apr 2014 05:12:25 +0000 (01:12 -0400)
commit2b399177dc58b28efa5937613760bdabfd5638f0
treed9167eb5bc90034e23aa539249cbd9624e3b754a
parentfcd0196b7eb17a8b696a1263281bcdb9eedcfbc0
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>
arch/sparc/include/asm/timer_32.h
arch/sparc/kernel/irq.h
arch/sparc/kernel/leon_kernel.c
arch/sparc/kernel/time_32.c