* fix tlan 64bit check
@ 2003-05-15 3:31 davej
0 siblings, 0 replies; only message in thread
From: davej @ 2003-05-15 3:31 UTC (permalink / raw)
To: jgarzik; +Cc: linux-kernel
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-15 3:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-15 3:31 fix tlan 64bit check davej
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®