mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2/2] unify DMA_..BIT_MASK definitions: cleanup drivers/scsi/gdth.c
@ 2007-09-17 17:51 Borislav Petkov
  0 siblings, 0 replies; only message in thread
From: Borislav Petkov @ 2007-09-17 17:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: achim_leubner

move local #defines to the dma-mappings header.

Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de>

--
Index: 23-rc6/drivers/scsi/gdth.c
===================================================================
--- 23-rc6/drivers/scsi/gdth.c.orig	2007-09-17 17:53:26.000000000 +0200
+++ 23-rc6/drivers/scsi/gdth.c	2007-09-17 17:53:49.000000000 +0200
@@ -392,12 +392,7 @@
 #include <linux/proc_fs.h>
 #include <linux/time.h>
 #include <linux/timer.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,6)
 #include <linux/dma-mapping.h>
-#else
-#define DMA_32BIT_MASK	0x00000000ffffffffULL
-#define DMA_64BIT_MASK	0xffffffffffffffffULL
-#endif
 
 #ifdef GDTH_RTC
 #include <linux/mc146818rtc.h>
-- 
Regards/Gruß,
    Boris.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-17 17:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-17 17:51 [PATCH 2/2] unify DMA_..BIT_MASK definitions: cleanup drivers/scsi/gdth.c Borislav Petkov

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®