Skip to content

Commit

Permalink
natsemi irq flags
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gregory Haskins authored and Jeff Garzik committed Jun 20, 2007
1 parent 2cc49a5 commit d41f2d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/natsemi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit d41f2d1

Please sign in to comment.