aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
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
parent2cc49a5ca14348f225beb888ad383064f2a96876 (diff)
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')
-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,
690{ 690{
691 struct netdev_private *np = netdev_priv(to_net_dev(dev)); 691 struct netdev_private *np = netdev_priv(to_net_dev(dev));
692 int new_setting; 692 int new_setting;
693 u32 flags; 693 unsigned long flags;
694 694
695 /* Find out the new setting */ 695 /* Find out the new setting */
696 if (!strncmp("on", buf, count - 1) || !strncmp("1", buf, count - 1)) 696 if (!strncmp("on", buf, count - 1) || !strncmp("1", buf, count - 1))