Messages in this thread Patch in this message | | | Date | Tue, 8 Apr 2003 01:37:02 +0100 | From | Alan Cox <> | Subject | PATCH: remove version crap |
| |
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.67/include/sound/memalloc.h linux-2.5.67-ac1/include/sound/memalloc.h --- linux-2.5.67/include/sound/memalloc.h 2003-03-26 20:00:00.000000000 +0000 +++ linux-2.5.67-ac1/include/sound/memalloc.h 2003-04-04 16:49:19.000000000 +0100 @@ -178,7 +178,7 @@ /* * wrappers */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0) + #ifdef CONFIG_PCI #if defined(__i386__) || defined(__ppc__) || defined(__x86_64__) #define HACK_PCI_ALLOC_CONSISTENT @@ -187,7 +187,6 @@ dma_addr_t *dma_handle); #endif /* arch */ #endif /* CONFIG_PCI */ -#endif /* LINUX >= 2.4.0 */ #endif /* __SOUND_MEMALLOC_H */ - 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/
| |