natsemi irq flags
authorGregory Haskins <ghaskins@novell.com>
Fri, 15 Jun 2007 21:17:50 +0000 (17:17 -0400)
committerJeff Garzik <jeff@garzik.org>
Wed, 20 Jun 2007 23:15:04 +0000 (19:15 -0400)
The spinlock irq flags should be a unsigned long to properly support 64 bit

Signed-off-by: Gregory Haskins <ghaskins@novell.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/natsemi.c

index 4cf0d3f..460a087 100644 (file)
@@ -690,7 +690,7 @@ static ssize_t natsemi_set_dspcfg_workaround(struct device *dev,
 {
        struct netdev_private *np = netdev_priv(to_net_dev(dev));
        int new_setting;
-       u32 flags;
+       unsigned long flags;
 
         /* Find out the new setting */
         if (!strncmp("on", buf, count - 1) || !strncmp("1", buf, count - 1))