[Linux1394-cvslog] rev 541 - trunk
Brought to you by:
aeb,
bencollins
From: SVN U. <ben...@li...> - 2002-08-07 00:03:26
|
Author: bencollins Date: 2002-08-07 04:53:00 -0400 (Wed, 07 Aug 2002) New Revision: 541 Modified: trunk/eth1394.c Log: Merge in changes from 2.4.20-pre1. Changes "int" to "unsigned long" for flags var to spinlock's. Modified: trunk/eth1394.c ============================================================================== --- trunk/eth1394.c (original) +++ trunk/eth1394.c 2002-08-07 04:53:00.000000000 -0400 @@ -276,7 +276,7 @@ static void ether1394_reset_priv (struct net_device *dev, int set_mtu) { - int flags; + unsigned long flags; struct eth1394_priv *priv = (struct eth1394_priv *)dev->priv; int phy_id = priv->host->node_id & NODE_MASK; @@ -477,7 +477,7 @@ * use of some of the fields, since they tell us a little bit * about the sending machine. */ if (hdr->uf.ether_type == __constant_htons (ETH_P_ARP)) { - int flags; + unsigned long flags; u16 phy_id = srcid & NODE_MASK; struct eth1394_priv *priv = (struct eth1394_priv *)dev->priv; @@ -525,7 +525,7 @@ { struct sk_buff *skb; char *buf = (char *)data; - int flags; + unsigned long flags; struct net_device *dev = ether1394_find_dev (host); struct eth1394_priv *priv; @@ -596,7 +596,7 @@ struct sk_buff *skb = ptask->skb; struct net_device *dev = ptask->skb->dev; struct eth1394_priv *priv = (struct eth1394_priv *)dev->priv; - int flags; + unsigned long flags; /* Statistics */ spin_lock_irqsave (&priv->lock, flags); @@ -627,7 +627,8 @@ int kmflags = in_interrupt () ? GFP_ATOMIC : GFP_KERNEL; struct ethhdr *eth; struct eth1394_priv *priv = (struct eth1394_priv *)dev->priv; - int proto, flags; + int proto; + unsigned long flags; nodeid_t dest_node; u64 addr; struct packet_task *ptask = NULL; |