aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-10-19 04:32:56 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-10-19 04:32:56 -0400
commit709bc44c31db4eeeec7dcf7d3f3fefd057adf7fb (patch)
treea2673e8c2514ca2c5007050b7f95292f52e56c97 /arch
parentc2a560f5334c55da1e8bfa17586cc1d4e7f8ed85 (diff)
sh: Updates for irq-flow-type naming changes.
handle_irq_name() and set_irq_chip_and_handler() disappeared, update for desc->name and set_irq_chip_and_handler_name() use. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/boards/renesas/r7780rp/irq.c6
-rw-r--r--arch/sh/kernel/cpu/irq/intc2.c5
-rw-r--r--arch/sh/kernel/cpu/irq/ipr.c5
-rw-r--r--arch/sh/kernel/irq.c2
4 files changed, 10 insertions, 8 deletions
diff --git a/arch/sh/boards/renesas/r7780rp/irq.c b/arch/sh/boards/renesas/r7780rp/irq.c
index cbb4ea28e9ad..aa15ec5bc69e 100644
--- a/arch/sh/boards/renesas/r7780rp/irq.c
+++ b/arch/sh/boards/renesas/r7780rp/irq.c
@@ -33,7 +33,7 @@ static void disable_r7780rp_irq(unsigned int irq)
33} 33}
34 34
35static struct irq_chip r7780rp_irq_chip __read_mostly = { 35static struct irq_chip r7780rp_irq_chip __read_mostly = {
36 .name = "r7780rp", 36 .name = "R7780RP",
37 .mask = disable_r7780rp_irq, 37 .mask = disable_r7780rp_irq,
38 .unmask = enable_r7780rp_irq, 38 .unmask = enable_r7780rp_irq,
39 .mask_ack = disable_r7780rp_irq, 39 .mask_ack = disable_r7780rp_irq,
@@ -48,8 +48,8 @@ void __init init_r7780rp_IRQ(void)
48 48
49 for (i = 0; i < 15; i++) { 49 for (i = 0; i < 15; i++) {
50 disable_irq_nosync(i); 50 disable_irq_nosync(i);
51 set_irq_chip_and_handler(i, &r7780rp_irq_chip, 51 set_irq_chip_and_handler_name(i, &r7780rp_irq_chip,
52 handle_level_irq); 52 handle_level_irq, "level");
53 enable_r7780rp_irq(i); 53 enable_r7780rp_irq(i);
54 } 54 }
55} 55}
diff --git a/arch/sh/kernel/cpu/irq/intc2.c b/arch/sh/kernel/cpu/irq/intc2.c
index d4b2bb7e08c7..212884adca03 100644
--- a/arch/sh/kernel/cpu/irq/intc2.c
+++ b/arch/sh/kernel/cpu/irq/intc2.c
@@ -31,7 +31,7 @@ static void enable_intc2_irq(unsigned int irq)
31} 31}
32 32
33static struct irq_chip intc2_irq_chip = { 33static struct irq_chip intc2_irq_chip = {
34 .typename = "intc2", 34 .name = "INTC2",
35 .mask = disable_intc2_irq, 35 .mask = disable_intc2_irq,
36 .unmask = enable_intc2_irq, 36 .unmask = enable_intc2_irq,
37 .mask_ack = disable_intc2_irq, 37 .mask_ack = disable_intc2_irq,
@@ -64,7 +64,8 @@ void make_intc2_irq(struct intc2_data *p)
64 64
65 local_irq_restore(flags); 65 local_irq_restore(flags);
66 66
67 set_irq_chip_and_handler(p->irq, &intc2_irq_chip, handle_level_irq); 67 set_irq_chip_and_handler_name(p->irq, &intc2_irq_chip,
68 handle_level_irq, "level");
68 set_irq_chip_data(p->irq, p); 69 set_irq_chip_data(p->irq, p);
69 70
70 enable_intc2_irq(p->irq); 71 enable_intc2_irq(p->irq);
diff --git a/arch/sh/kernel/cpu/irq/ipr.c b/arch/sh/kernel/cpu/irq/ipr.c
index 8944abdf6e1c..f7997312ef98 100644
--- a/arch/sh/kernel/cpu/irq/ipr.c
+++ b/arch/sh/kernel/cpu/irq/ipr.c
@@ -44,7 +44,7 @@ static void enable_ipr_irq(unsigned int irq)
44} 44}
45 45
46static struct irq_chip ipr_irq_chip = { 46static struct irq_chip ipr_irq_chip = {
47 .name = "ipr", 47 .name = "IPR",
48 .mask = disable_ipr_irq, 48 .mask = disable_ipr_irq,
49 .unmask = enable_ipr_irq, 49 .unmask = enable_ipr_irq,
50 .mask_ack = disable_ipr_irq, 50 .mask_ack = disable_ipr_irq,
@@ -60,7 +60,8 @@ void make_ipr_irq(unsigned int irq, unsigned int addr, int pos, int priority)
60 ipr_data.shift = pos*4; /* POSition (0-3) x 4 means shift */ 60 ipr_data.shift = pos*4; /* POSition (0-3) x 4 means shift */
61 ipr_data.priority = priority; 61 ipr_data.priority = priority;
62 62
63 set_irq_chip_and_handler(irq, &ipr_irq_chip, handle_level_irq); 63 set_irq_chip_and_handler_name(irq, &ipr_irq_chip,
64 handle_level_irq, "level");
64 set_irq_chip_data(irq, &ipr_data); 65 set_irq_chip_data(irq, &ipr_data);
65 66
66 enable_ipr_irq(irq); 67 enable_ipr_irq(irq);
diff --git a/arch/sh/kernel/irq.c b/arch/sh/kernel/irq.c
index acf2602569c4..944128ce9706 100644
--- a/arch/sh/kernel/irq.c
+++ b/arch/sh/kernel/irq.c
@@ -54,7 +54,7 @@ int show_interrupts(struct seq_file *p, void *v)
54 for_each_online_cpu(j) 54 for_each_online_cpu(j)
55 seq_printf(p, "%10u ", kstat_cpu(j).irqs[i]); 55 seq_printf(p, "%10u ", kstat_cpu(j).irqs[i]);
56 seq_printf(p, " %14s", irq_desc[i].chip->name); 56 seq_printf(p, " %14s", irq_desc[i].chip->name);
57 seq_printf(p, "-%s", handle_irq_name(irq_desc[i].handle_irq)); 57 seq_printf(p, "-%-8s", irq_desc[i].name);
58 seq_printf(p, " %s", action->name); 58 seq_printf(p, " %s", action->name);
59 59
60 for (action=action->next; action; action = action->next) 60 for (action=action->next; action; action = action->next)