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:
3026589
)
microblaze: Fix kind-of-intr checking against number of interrupts
author
Michal Simek
<monstr@monstr.eu>
Thu, 14 May 2009 11:35:52 +0000
(13:35 +0200)
committer
Michal Simek
<monstr@monstr.eu>
Mon, 18 May 2009 12:47:42 +0000
(14:47 +0200)
+ Fix typographic fault.
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/intc.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/kernel/intc.c
b/arch/microblaze/kernel/intc.c
index a69d3e3c2fd443ae0e1c3a45d7476fbe3ebc0710..b15605299a57f448b57f0c9cb534cf511c796eb3 100644
(file)
--- a/
arch/microblaze/kernel/intc.c
+++ b/
arch/microblaze/kernel/intc.c
@@
-137,8
+137,8
@@
void __init init_IRQ(void)
intr_type =
*(int *) of_get_property(intc, "xlnx,kind-of-intr", NULL);
- if (intr_type >= (1 <<
nr_irq
))
- printk(KERN_INFO " ERROR: Mis
hmash in king
-of-intr param\n");
+ if (intr_type >= (1 <<
(nr_irq + 1)
))
+ printk(KERN_INFO " ERROR: Mis
match in kind
-of-intr param\n");
#ifdef CONFIG_SELFMOD_INTC
selfmod_function((int *) arr_func, intc_baseaddr);