![]() | |||||||||||||
Messages in this thread Patch in this message |
On Fri, Apr 26, 2002 at 09:44:16AM +0200, Jurriaan on Alpha wrote: > -#if defined(__i386__) || defined(__ppc__) > +#if defined(__i386__) || defined(__ppc__) || defined(__alpha__) > /* > * Here a dirty hack for 2.4 kernels.. See kernel/memory.c. > */ No, alpha doesn't need any kind of "dirty hacks". :-) We only need to get <linux/pci.h> included properly. Ivan. --- 2.5.10/include/sound/driver.h Mon Mar 18 23:37:12 2002 +++ linux/include/sound/driver.h Tue Mar 26 23:47:32 2002 @@ -50,12 +50,12 @@ */ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 0) +#include <linux/pci.h> #if defined(__i386__) || defined(__ppc__) /* * Here a dirty hack for 2.4 kernels.. See kernel/memory.c. */ #define HACK_PCI_ALLOC_CONSISTENT -#include <linux/pci.h> void *snd_pci_hack_alloc_consistent(struct pci_dev *hwdev, size_t size, dma_addr_t *dma_handle); #undef pci_alloc_consistent - 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/ | ||||||||||||
| Last update: 2005-03-22 12:25 [from the cache] ©2003-2008 | |||||||||||||