projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d987569
)
ARM: at91: fix system timer irq issue due to sparse irq support
author
Ludovic Desroches
<
[email protected]
>
Tue, 14 Aug 2012 09:19:21 +0000
(11:19 +0200)
committer
Nicolas Ferre
<
[email protected]
>
Thu, 23 Aug 2012 12:55:32 +0000
(14:55 +0200)
AT91_ID_SYS as virq is incorrect because of spare irq support which
introduces NR_IRQS_LEGACY offset.
Signed-off-by: Ludovic Desroches <
[email protected]
>
Tested-by: Joachim Eastwood <
[email protected]
>
Signed-off-by: Nicolas Ferre <
[email protected]
>
arch/arm/mach-at91/at91rm9200_time.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-at91/at91rm9200_time.c
b/arch/arm/mach-at91/at91rm9200_time.c
index 104ca40d8d18908cb463e7ae1cd56790c926d971..aaa443b48c91f121e2f698792fb94bb4d6e2afa6 100644
(file)
--- a/
arch/arm/mach-at91/at91rm9200_time.c
+++ b/
arch/arm/mach-at91/at91rm9200_time.c
@@
-197,7
+197,7
@@
void __init at91rm9200_timer_init(void)
at91_st_read(AT91_ST_SR);
/* Make IRQs happen for the system timer */
- setup_irq(AT91_ID_SYS, &at91rm9200_timer_irq);
+ setup_irq(
NR_IRQS_LEGACY +
AT91_ID_SYS, &at91rm9200_timer_irq);
/* The 32KiHz "Slow Clock" (tick every 30517.58 nanoseconds) is used
* directly for the clocksource and all clockevents, after adjusting