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/net/skge.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/net/skge.c')
-rw-r--r-- | drivers/net/skge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c index 705e9a8fa30f..a4a58e4e93a1 100644 --- a/drivers/net/skge.c +++ b/drivers/net/skge.c | |||
@@ -3051,7 +3051,7 @@ static void skge_extirq(void *arg) | |||
3051 | spin_unlock_irq(&hw->hw_lock); | 3051 | spin_unlock_irq(&hw->hw_lock); |
3052 | } | 3052 | } |
3053 | 3053 | ||
3054 | static irqreturn_t skge_intr(int irq, void *dev_id, struct pt_regs *regs) | 3054 | static irqreturn_t skge_intr(int irq, void *dev_id) |
3055 | { | 3055 | { |
3056 | struct skge_hw *hw = dev_id; | 3056 | struct skge_hw *hw = dev_id; |
3057 | u32 status; | 3057 | u32 status; |
@@ -3125,7 +3125,7 @@ static void skge_netpoll(struct net_device *dev) | |||
3125 | struct skge_port *skge = netdev_priv(dev); | 3125 | struct skge_port *skge = netdev_priv(dev); |
3126 | 3126 | ||
3127 | disable_irq(dev->irq); | 3127 | disable_irq(dev->irq); |
3128 | skge_intr(dev->irq, skge->hw, NULL); | 3128 | skge_intr(dev->irq, skge->hw); |
3129 | enable_irq(dev->irq); | 3129 | enable_irq(dev->irq); |
3130 | } | 3130 | } |
3131 | #endif | 3131 | #endif |