Commit d41f2d17 authored by Gregory Haskins's avatar Gregory Haskins Committed by Jeff Garzik

natsemi irq flags

The spinlock irq flags should be a unsigned long to properly support 64 bit
Signed-off-by: default avatarGregory Haskins <ghaskins@novell.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 2cc49a5c
...@@ -690,7 +690,7 @@ static ssize_t natsemi_set_dspcfg_workaround(struct device *dev, ...@@ -690,7 +690,7 @@ static ssize_t natsemi_set_dspcfg_workaround(struct device *dev,
{ {
struct netdev_private *np = netdev_priv(to_net_dev(dev)); struct netdev_private *np = netdev_priv(to_net_dev(dev));
int new_setting; int new_setting;
u32 flags; unsigned long flags;
/* Find out the new setting */ /* Find out the new setting */
if (!strncmp("on", buf, count - 1) || !strncmp("1", buf, count - 1)) if (!strncmp("on", buf, count - 1) || !strncmp("1", buf, count - 1))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment