]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/sonic.c
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
[net-next-2.6.git] / drivers / net / sonic.c
index 870cf6b07389cdd4a886f6c5bd309402605618c6..cfece9676affbdef48ec1f7c20c450be637ca3ed 100644 (file)
@@ -293,7 +293,7 @@ static int sonic_send_packet(struct sk_buff *skb, struct net_device *dev)
  * The typical workload of the driver:
  * Handle the network interface interrupts.
  */
-static irqreturn_t sonic_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+static irqreturn_t sonic_interrupt(int irq, void *dev_id)
 {
        struct net_device *dev = (struct net_device *) dev_id;
        struct sonic_local *lp = netdev_priv(dev);