summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@sw.ru>2007-07-06 16:57:13 +0200
committerJeff Garzik <jeff@garzik.org>2007-07-10 18:41:18 +0200
commit099575b6cb7eaf18211ba72de56264f67651b90b (patch)
treebb1c53ee5f6b77d19af79f62345a2fd444ad65a2
parentCleanup usbnet_probe() return value handling (diff)
downloadlinux-099575b6cb7eaf18211ba72de56264f67651b90b.tar.xz
linux-099575b6cb7eaf18211ba72de56264f67651b90b.zip
macmace: use "unsigned long flags;"
Code will do local_irq_save() on it. Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/net/macmace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/macmace.c b/drivers/net/macmace.c
index fef3193121f9..9a343b965975 100644
--- a/drivers/net/macmace.c
+++ b/drivers/net/macmace.c
@@ -577,7 +577,7 @@ static irqreturn_t mace_interrupt(int irq, void *dev_id)
struct mace_data *mp = netdev_priv(dev);
volatile struct mace *mb = mp->mace;
int intr, fs;
- unsigned int flags;
+ unsigned long flags;
/* don't want the dma interrupt handler to fire */
local_irq_save(flags);