diff options
| author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2003-04-07 19:44:10 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-04-07 19:44:10 -0700 |
| commit | 46d20c8dbcf66fad6bda11f49edcd16873b1fbfb (patch) | |
| tree | 27e4f1b0985141fcb5ec734282ae1db7b037c81e /include/sound/memalloc.h | |
| parent | 463e8ee2aed0ffde859fad0f0b13dc97c36511c4 (diff) | |
[PATCH] remove version crap
Diffstat (limited to 'include/sound/memalloc.h')
| -rw-r--r-- | include/sound/memalloc.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 */ |
