]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/um/drivers/net_kern.c
WorkQueue: Fix up arch-specific work items where possible
[linux-2.6-omap-h63xx.git] / arch / um / drivers / net_kern.c
index 16aa572325c9b4870c0fd2feacda2154a0a83119..286bc0b3207fd7b13b861088473959933f8aa99b 100644 (file)
@@ -5,7 +5,6 @@
  * Licensed under the GPL.
  */
 
-#include "linux/config.h"
 #include "linux/kernel.h"
 #include "linux/netdevice.h"
 #include "linux/rtnetlink.h"
@@ -78,7 +77,7 @@ static void uml_dev_close(void* dev)
        dev_close( (struct net_device *) dev);
 }
 
-irqreturn_t uml_net_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+irqreturn_t uml_net_interrupt(int irq, void *dev_id)
 {
        struct net_device *dev = dev_id;
        struct uml_net_private *lp = dev->priv;
@@ -100,6 +99,7 @@ irqreturn_t uml_net_interrupt(int irq, void *dev_id, struct pt_regs *regs)
                 * same device, since it tests for (dev->flags & IFF_UP). So
                 * there's no harm in delaying the device shutdown. */
                schedule_work(&close_work);
+#error this is not permitted - close_work will go out of scope
                goto out;
        }
        reactivate_fd(lp->fd, UM_ETH_IRQ);
@@ -310,7 +310,7 @@ static void setup_etheraddr(char *str, unsigned char *addr)
        return;
 
 random:
-       random_ether_addr(addr)
+       random_ether_addr(addr);
 }
 
 static DEFINE_SPINLOCK(devices_lock);