diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
commit | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch) | |
tree | 93824f573767da634fbc82c388b6d33cc454212b /drivers/macintosh/smu.c | |
parent | c1a26e7d40fb814716950122353a1a556844286b (diff) | |
parent | 7d12e780e003f93433d49ce78cfedf4b4c52adc5 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type
Diffstat (limited to 'drivers/macintosh/smu.c')
-rw-r--r-- | drivers/macintosh/smu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index c0f9d82e4662..ade25b3fbb35 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c | |||
@@ -145,7 +145,7 @@ static void smu_start_cmd(void) | |||
145 | } | 145 | } |
146 | 146 | ||
147 | 147 | ||
148 | static irqreturn_t smu_db_intr(int irq, void *arg, struct pt_regs *regs) | 148 | static irqreturn_t smu_db_intr(int irq, void *arg) |
149 | { | 149 | { |
150 | unsigned long flags; | 150 | unsigned long flags; |
151 | struct smu_cmd *cmd; | 151 | struct smu_cmd *cmd; |
@@ -224,7 +224,7 @@ static irqreturn_t smu_db_intr(int irq, void *arg, struct pt_regs *regs) | |||
224 | } | 224 | } |
225 | 225 | ||
226 | 226 | ||
227 | static irqreturn_t smu_msg_intr(int irq, void *arg, struct pt_regs *regs) | 227 | static irqreturn_t smu_msg_intr(int irq, void *arg) |
228 | { | 228 | { |
229 | /* I don't quite know what to do with this one, we seem to never | 229 | /* I don't quite know what to do with this one, we seem to never |
230 | * receive it, so I suspect we have to arm it someway in the SMU | 230 | * receive it, so I suspect we have to arm it someway in the SMU |
@@ -309,7 +309,7 @@ void smu_poll(void) | |||
309 | 309 | ||
310 | gpio = pmac_do_feature_call(PMAC_FTR_READ_GPIO, NULL, smu->doorbell); | 310 | gpio = pmac_do_feature_call(PMAC_FTR_READ_GPIO, NULL, smu->doorbell); |
311 | if ((gpio & 7) == 7) | 311 | if ((gpio & 7) == 7) |
312 | smu_db_intr(smu->db_irq, smu, NULL); | 312 | smu_db_intr(smu->db_irq, smu); |
313 | } | 313 | } |
314 | EXPORT_SYMBOL(smu_poll); | 314 | EXPORT_SYMBOL(smu_poll); |
315 | 315 | ||