diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-06 14:20:38 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-29 08:48:17 -0400 |
commit | 380e31119611b26ee593e4426115feae765be837 (patch) | |
tree | 65b830dd13c4416088ce93d3a8496190d26b0ac4 /arch | |
parent | a55174f1ec5052d3eff5ba6cd25e3d58bdfb1713 (diff) |
frv: Convert cpu irq_chip to new functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: David Howells <dhowells@redhat.com>
LKML-Reference: <20110206192106.501651128@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-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 | /* |