projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e474563
)
m68knommu: Use proper irq_desc accessors in
author
Thomas Gleixner
<tglx@linutronix.de>
Sun, 6 Feb 2011 23:39:14 +0000
(23:39 +0000)
committer
Greg Ungerer
<gerg@uclinux.org>
Tue, 15 Mar 2011 11:01:53 +0000
(21:01 +1000)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68knommu/kernel/irq.c
patch
|
blob
|
history
diff --git
a/arch/m68knommu/kernel/irq.c
b/arch/m68knommu/kernel/irq.c
index c9cac36d44223fa48a5220d2eb920d557cef74e4..c7dd48f37beeb818b53c58ce053e60bc86dd015c 100644
(file)
--- a/
arch/m68knommu/kernel/irq.c
+++ b/
arch/m68knommu/kernel/irq.c
@@
-38,11
+38,13
@@
int show_interrupts(struct seq_file *p, void *v)
seq_puts(p, " CPU0\n");
if (irq < NR_IRQS) {
- ap = irq_desc[irq].action;
+ struct irq_desc *desc = irq_to_desc(irq);
+
+ ap = desc->action;
if (ap) {
seq_printf(p, "%3d: ", irq);
seq_printf(p, "%10u ", kstat_irqs(irq));
- seq_printf(p, "%14s ",
irq_desc[irq].chip
->name);
+ seq_printf(p, "%14s ",
get_irq_desc_chip(desc)
->name);
seq_printf(p, "%s", ap->name);
for (ap = ap->next; ap; ap = ap->next)