aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/timer_32.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-04-21 21:39:22 +0200
committerDavid S. Miller <davem@davemloft.net>2014-04-29 01:12:25 -0400
commit2b399177dc58b28efa5937613760bdabfd5638f0 (patch)
treed9167eb5bc90034e23aa539249cbd9624e3b754a /arch/sparc/include/asm/timer_32.h
parentsparc32: fix sparse warning in traps_32.c (diff)
downloadlinux-dev-2b399177dc58b28efa5937613760bdabfd5638f0.tar.xz
linux-dev-2b399177dc58b28efa5937613760bdabfd5638f0.zip
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>
Diffstat (limited to 'arch/sparc/include/asm/timer_32.h')
-rw-r--r--arch/sparc/include/asm/timer_32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/timer_32.h b/arch/sparc/include/asm/timer_32.h
index 72f40a546de3..93476f8d7fea 100644
--- a/arch/sparc/include/asm/timer_32.h
+++ b/arch/sparc/include/asm/timer_32.h
@@ -32,7 +32,7 @@ static inline unsigned int timer_value(unsigned int value)
return (value + 1) << TIMER_VALUE_SHIFT;
}
-extern __volatile__ unsigned int *master_l10_counter;
+extern volatile unsigned int __iomem *master_l10_counter;
extern irqreturn_t notrace timer_interrupt(int dummy, void *dev_id);