fix tlan 64bit check

davej@codemonkey.org.uk
Thu, 15 May 2003 04:31:09 +0100


diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/net/tlan.c linux-2.5/drivers/net/tlan.c
--- bk-linus/drivers/net/tlan.c 2003-04-22 00:40:43.000000000 +0100
+++ linux-2.5/drivers/net/tlan.c 2003-04-22 01:23:14.000000000 +0100
@@ -1536,7 +1536,7 @@ u32 TLan_HandleRxEOF( struct net_device
t = (void *) skb_put( new_skb, TLAN_MAX_FRAME_SIZE );
head_list->buffer[0].address = pci_map_single(priv->pciDev, new_skb->data, TLAN_MAX_FRAME_SIZE, PCI_DMA_FROMDEVICE);
head_list->buffer[8].address = (u32) t;
-#ifdef __LP64__
+#if BITS_PER_LONG==64
#error "Not 64bit clean"
#endif
head_list->buffer[9].address = (u32) new_skb;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/