Commit a8ebd4db authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] CPU flags fixes

teach various drivers that the CPU flags require unsigned long
parent 6e2069a6
...@@ -1985,7 +1985,7 @@ static void listentimerfunc(unsigned long x) ...@@ -1985,7 +1985,7 @@ static void listentimerfunc(unsigned long x)
static int capidrv_addcontr(u16 contr, struct capi_profile *profp) static int capidrv_addcontr(u16 contr, struct capi_profile *profp)
{ {
capidrv_contr *card; capidrv_contr *card;
long flags; unsigned long flags;
isdn_ctrl cmd; isdn_ctrl cmd;
char id[20]; char id[20];
int i; int i;
......
...@@ -1347,7 +1347,7 @@ static void set_chan_state (struct net_device *dev, u8 state) ...@@ -1347,7 +1347,7 @@ static void set_chan_state (struct net_device *dev, u8 state)
{ {
x25_channel_t *chan = dev->priv; x25_channel_t *chan = dev->priv;
cycx_t *card = chan->card; cycx_t *card = chan->card;
long flags; unsigned long flags;
char *string_state = NULL; char *string_state = NULL;
spin_lock_irqsave(&card->lock, flags); spin_lock_irqsave(&card->lock, flags);
......
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