diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-29 09:05:13 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2011-03-29 09:05:13 -0400 |
commit | 12516469756f773ac756ac73c4070ba8efef155a (patch) | |
tree | 4a6ada44bc497191f56701146df4d4589e45a350 /arch/frv | |
parent | a4b48a494aef7ab2458b365e00eeebc6c0a2d997 (diff) |
frv: Convert cpu irq_chip to new functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/kernel/irq.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/arch/frv/kernel/irq.c b/arch/frv/kernel/irq.c index d4ec2c6adb0f..deaba569007f 100644 --- a/arch/frv/kernel/irq.c +++ b/arch/frv/kernel/irq.c | |||
@@ -95,35 +95,35 @@ int show_interrupts(struct seq_file *p, void *v) | |||
95 | /* | 95 | /* |
96 | * on-CPU PIC operations | 96 | * on-CPU PIC operations |
97 | */ | 97 | */ |
98 | static void frv_cpupic_ack(unsigned int irqlevel) | 98 | static void frv_cpupic_ack(struct irq_data *d) |
99 | { | 99 | { |
100 | __clr_RC(irqlevel); | 100 | __clr_RC(d->irq); |
101 | __clr_IRL(); | 101 | __clr_IRL(); |
102 | } | 102 | } |
103 | 103 | ||
104 | static void frv_cpupic_mask(unsigned int irqlevel) | 104 | static void frv_cpupic_mask(struct irq_data *d) |
105 | { | 105 | { |
106 | __set_MASK(irqlevel); | 106 | __set_MASK(d->irq); |
107 | } | 107 | } |
108 | 108 | ||
109 | static void frv_cpupic_mask_ack(unsigned int irqlevel) | 109 | static void frv_cpupic_mask_ack(struct irq_data *d) |
110 | { | 110 | { |
111 | __set_MASK(irqlevel); | 111 | __set_MASK(d->irq); |
112 | __clr_RC(irqlevel); | 112 | __clr_RC(d->irq); |
113 | __clr_IRL(); | 113 | __clr_IRL(); |
114 | } | 114 | } |
115 | 115 | ||
116 | static void frv_cpupic_unmask(unsigned int irqlevel) | 116 | static void frv_cpupic_unmask(struct irq_data *d) |
117 | { | 117 | { |
118 | __clr_MASK(irqlevel); | 118 | __clr_MASK(d->irq); |
119 | } | 119 | } |
120 | 120 | ||
121 | static struct irq_chip frv_cpu_pic = { | 121 | static struct irq_chip frv_cpu_pic = { |
122 | .name = "cpu", | 122 | .name = "cpu", |
123 | .ack = frv_cpupic_ack, | 123 | .irq_ack = frv_cpupic_ack, |
124 | .mask = frv_cpupic_mask, | 124 | .irq_mask = frv_cpupic_mask, |
125 | .mask_ack = frv_cpupic_mask_ack, | 125 | .irq_mask_ack = frv_cpupic_mask_ack, |
126 | .unmask = frv_cpupic_unmask, | 126 | .irq_unmask = frv_cpupic_unmask, |
127 | }; | 127 | }; |
128 | 128 | ||
129 | /* | 129 | /* |