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/ibmveth.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/ibmveth.c')
-rw-r--r-- | drivers/net/ibmveth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c index 767203d35bc2..4bac3cd8f235 100644 --- a/drivers/net/ibmveth.c +++ b/drivers/net/ibmveth.c | |||
@@ -93,7 +93,7 @@ static void ibmveth_proc_register_driver(void); | |||
93 | static void ibmveth_proc_unregister_driver(void); | 93 | static void ibmveth_proc_unregister_driver(void); |
94 | static void ibmveth_proc_register_adapter(struct ibmveth_adapter *adapter); | 94 | static void ibmveth_proc_register_adapter(struct ibmveth_adapter *adapter); |
95 | static void ibmveth_proc_unregister_adapter(struct ibmveth_adapter *adapter); | 95 | static void ibmveth_proc_unregister_adapter(struct ibmveth_adapter *adapter); |
96 | static irqreturn_t ibmveth_interrupt(int irq, void *dev_instance, struct pt_regs *regs); | 96 | static irqreturn_t ibmveth_interrupt(int irq, void *dev_instance); |
97 | static inline void ibmveth_rxq_harvest_buffer(struct ibmveth_adapter *adapter); | 97 | static inline void ibmveth_rxq_harvest_buffer(struct ibmveth_adapter *adapter); |
98 | static struct kobj_type ktype_veth_pool; | 98 | static struct kobj_type ktype_veth_pool; |
99 | 99 | ||
@@ -543,7 +543,7 @@ static int ibmveth_open(struct net_device *netdev) | |||
543 | } | 543 | } |
544 | 544 | ||
545 | ibmveth_debug_printk("initial replenish cycle\n"); | 545 | ibmveth_debug_printk("initial replenish cycle\n"); |
546 | ibmveth_interrupt(netdev->irq, netdev, NULL); | 546 | ibmveth_interrupt(netdev->irq, netdev); |
547 | 547 | ||
548 | netif_start_queue(netdev); | 548 | netif_start_queue(netdev); |
549 | 549 | ||
@@ -816,7 +816,7 @@ static int ibmveth_poll(struct net_device *netdev, int *budget) | |||
816 | return 0; | 816 | return 0; |
817 | } | 817 | } |
818 | 818 | ||
819 | static irqreturn_t ibmveth_interrupt(int irq, void *dev_instance, struct pt_regs *regs) | 819 | static irqreturn_t ibmveth_interrupt(int irq, void *dev_instance) |
820 | { | 820 | { |
821 | struct net_device *netdev = dev_instance; | 821 | struct net_device *netdev = dev_instance; |
822 | struct ibmveth_adapter *adapter = netdev->priv; | 822 | struct ibmveth_adapter *adapter = netdev->priv; |
@@ -1261,7 +1261,7 @@ const char * buf, size_t count) | |||
1261 | } | 1261 | } |
1262 | 1262 | ||
1263 | /* kick the interrupt handler to allocate/deallocate pools */ | 1263 | /* kick the interrupt handler to allocate/deallocate pools */ |
1264 | ibmveth_interrupt(netdev->irq, netdev, NULL); | 1264 | ibmveth_interrupt(netdev->irq, netdev); |
1265 | return count; | 1265 | return count; |
1266 | } | 1266 | } |
1267 | 1267 | ||