aboutsummaryrefslogtreecommitdiffstats
path: root/arch/frv
diff options
context:
space:
mode:
Diffstat (limited to 'arch/frv')
-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/*