From 46d20c8dbcf66fad6bda11f49edcd16873b1fbfb Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 7 Apr 2003 19:44:10 -0700 Subject: [PATCH] remove version crap --- include/sound/memalloc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/sound/memalloc.h b/include/sound/memalloc.h index 3871390993e2..02d57069a6f9 100644 --- a/include/sound/memalloc.h +++ b/include/sound/memalloc.h @@ -178,7 +178,7 @@ static inline dma_addr_t snd_sgbuf_get_addr(struct snd_sg_buf *sgbuf, size_t off /* * 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 @@ void *snd_pci_hack_alloc_consistent(struct pci_dev *hwdev, size_t size, dma_addr_t *dma_handle); #endif /* arch */ #endif /* CONFIG_PCI */ -#endif /* LINUX >= 2.4.0 */ #endif /* __SOUND_MEMALLOC_H */ -- cgit v1.2.3