aboutsummaryrefslogtreecommitdiffstats
path: root/arch/frv/kernel
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-29 09:05:13 -0400
committerDavid Howells <dhowells@redhat.com>2011-03-29 09:05:13 -0400
commit12516469756f773ac756ac73c4070ba8efef155a (patch)
tree4a6ada44bc497191f56701146df4d4589e45a350 /arch/frv/kernel
parenta4b48a494aef7ab2458b365e00eeebc6c0a2d997 (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/kernel')
-rw-r--r--arch/frv/kernel/irq.c26
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 */
98static void frv_cpupic_ack(unsigned int irqlevel) 98static 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
104static void frv_cpupic_mask(unsigned int irqlevel) 104static void frv_cpupic_mask(struct irq_data *d)
105{ 105{
106 __set_MASK(irqlevel); 106 __set_MASK(d->irq);
107} 107}
108 108
109static void frv_cpupic_mask_ack(unsigned int irqlevel) 109static 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
116static void frv_cpupic_unmask(unsigned int irqlevel) 116static void frv_cpupic_unmask(struct irq_data *d)
117{ 117{
118 __clr_MASK(irqlevel); 118 __clr_MASK(d->irq);
119} 119}
120 120
121static struct irq_chip frv_cpu_pic = { 121static 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/*