projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARC: [intc-compact] setup TIMER as percpu_dev
[linux-2.6-microblaze.git]
/
arch
/
arc
/
kernel
/
intc-compact.c
diff --git
a/arch/arc/kernel/intc-compact.c
b/arch/arc/kernel/intc-compact.c
index
224d1c3
..
4195eed
100644
(file)
--- a/
arch/arc/kernel/intc-compact.c
+++ b/
arch/arc/kernel/intc-compact.c
@@
-79,8
+79,9
@@
static struct irq_chip onchip_intc = {
static int arc_intc_domain_map(struct irq_domain *d, unsigned int irq,
irq_hw_number_t hw)
{
static int arc_intc_domain_map(struct irq_domain *d, unsigned int irq,
irq_hw_number_t hw)
{
- switch (
irq
) {
+ switch (
hw
) {
case TIMER0_IRQ:
case TIMER0_IRQ:
+ irq_set_percpu_devid(irq);
irq_set_chip_and_handler(irq, &onchip_intc, handle_percpu_irq);
break;
default:
irq_set_chip_and_handler(irq, &onchip_intc, handle_percpu_irq);
break;
default: