mirror of https://gitee.com/openkylin/linux.git
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
|
@ -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 New Issue