summaryrefslogtreecommitdiff
path: root/drivers/net/natsemi.c
diff options
context:
space:
mode:
authorGregory Haskins <ghaskins@novell.com>2007-06-15 17:17:50 -0400
committerJeff Garzik <jeff@garzik.org>2007-06-20 19:15:04 -0400
commitd41f2d17f863fcd9496748135967e71551d5873d (patch)
tree42404cf50bc5fbf69072a3fddce76c5be5f4d351 /drivers/net/natsemi.c
parent2cc49a5ca14348f225beb888ad383064f2a96876 (diff)
downloadlwn-d41f2d17f863fcd9496748135967e71551d5873d.tar.gz
lwn-d41f2d17f863fcd9496748135967e71551d5873d.zip
natsemi irq flags
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>
Diffstat (limited to 'drivers/net/natsemi.c')
-rw-r--r--drivers/net/natsemi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c
index 4cf0d3fcb519..460a08718c69 100644
--- a/drivers/net/natsemi.c
+++ b/drivers/net/natsemi.c
@@ -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))