mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
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>
This commit is contained in:
parent
2cc49a5ca1
commit
d41f2d17f8
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue