]> git.hungrycats.org Git - linux/commitdiff
[PATCH] CPU flags fixes
authorAndrew Morton <akpm@digeo.com>
Thu, 24 Apr 2003 15:58:56 +0000 (08:58 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 24 Apr 2003 15:58:56 +0000 (08:58 -0700)
teach various drivers that the CPU flags require unsigned long

drivers/isdn/capi/capidrv.c
drivers/net/wan/cycx_x25.c

index bbe41cbd73d13a67099809fad253ebcbd909bf23..83ac9fb2c15757cbbcc7115304f5cdff3ae865f8 100644 (file)
@@ -1985,7 +1985,7 @@ static void listentimerfunc(unsigned long x)
 static int capidrv_addcontr(u16 contr, struct capi_profile *profp)
 {
        capidrv_contr *card;
-       long flags;
+       unsigned long flags;
        isdn_ctrl cmd;
        char id[20];
        int i;
index a94b038bf4ba8012933c2c3392a6656aa849807f..c81048705e17e48fecbb162b5fcf67b54977af11 100644 (file)
@@ -1347,7 +1347,7 @@ static void set_chan_state (struct net_device *dev, u8 state)
 {
        x25_channel_t *chan = dev->priv;
        cycx_t *card = chan->card;
-       long flags;
+       unsigned long flags;
        char *string_state = NULL;
 
        spin_lock_irqsave(&card->lock, flags);