diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-25 11:45:20 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-29 08:48:12 -0400 |
commit | ec775d0e70eb6b7116406b3441cb8501c2849dd2 (patch) | |
tree | 3c9f5bfb1f5a4cde6754517dccaacd9e91a05cf4 /arch/powerpc/sysdev/cpm2_pic.c | |
parent | 7bfbc1f28311d680e45d7122ecd48dec57703750 (diff) |
powerpc: Convert to new irq_* function names
Scripted with coccinelle.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/powerpc/sysdev/cpm2_pic.c')
-rw-r--r-- | arch/powerpc/sysdev/cpm2_pic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/sysdev/cpm2_pic.c b/arch/powerpc/sysdev/cpm2_pic.c index c5844e9427b8..5495c1be472b 100644 --- a/arch/powerpc/sysdev/cpm2_pic.c +++ b/arch/powerpc/sysdev/cpm2_pic.c | |||
@@ -157,9 +157,9 @@ static int cpm2_set_irq_type(struct irq_data *d, unsigned int flow_type) | |||
157 | 157 | ||
158 | irqd_set_trigger_type(d, flow_type); | 158 | irqd_set_trigger_type(d, flow_type); |
159 | if (flow_type & IRQ_TYPE_LEVEL_LOW) | 159 | if (flow_type & IRQ_TYPE_LEVEL_LOW) |
160 | __set_irq_handler_unlocked(d->irq, handle_level_irq); | 160 | __irq_set_handler_locked(d->irq, handle_level_irq); |
161 | else | 161 | else |
162 | __set_irq_handler_unlocked(d->irq, handle_edge_irq); | 162 | __irq_set_handler_locked(d->irq, handle_edge_irq); |
163 | 163 | ||
164 | /* internal IRQ senses are LEVEL_LOW | 164 | /* internal IRQ senses are LEVEL_LOW |
165 | * EXT IRQ and Port C IRQ senses are programmable | 165 | * EXT IRQ and Port C IRQ senses are programmable |
@@ -220,7 +220,7 @@ static int cpm2_pic_host_map(struct irq_host *h, unsigned int virq, | |||
220 | pr_debug("cpm2_pic_host_map(%d, 0x%lx)\n", virq, hw); | 220 | pr_debug("cpm2_pic_host_map(%d, 0x%lx)\n", virq, hw); |
221 | 221 | ||
222 | irq_set_status_flags(virq, IRQ_LEVEL); | 222 | irq_set_status_flags(virq, IRQ_LEVEL); |
223 | set_irq_chip_and_handler(virq, &cpm2_pic, handle_level_irq); | 223 | irq_set_chip_and_handler(virq, &cpm2_pic, handle_level_irq); |
224 | return 0; | 224 | return 0; |
225 | } | 225 | } |
226 | 226 | ||