public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* m68knommu: dma_{alloc,free}_coherent compile error
@ 2006-09-05 18:17 Adrian Bunk
  2006-09-11  6:02 ` Greg Ungerer
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2006-09-05 18:17 UTC (permalink / raw)
  To: gerg; +Cc: linux-kernel

I'm getting the following compile error trying to compile 2.6.18-rc5-mm1 
(but it doesn't seem to be specific to -mm) for m68knommu with 
CONFIG_PCI=n (with -Werror-implicit-function-declaration):

<--  snip  -->

...
  CC      drivers/base/dmapool.o
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc5-mm1/drivers/base/dmapool.c: In function 'pool_alloc_page':
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc5-mm1/drivers/base/dmapool.c:170: error: implicit declaration of function 'dma_alloc_coherent'
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc5-mm1/drivers/base/dmapool.c:173: warning: assignment makes pointer from integer without a cast
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc5-mm1/drivers/base/dmapool.c: In function 'pool_free_page':
/home/bunk/linux/kernel-2.6/linux-2.6.18-rc5-mm1/drivers/base/dmapool.c:208: error: implicit declaration of function 'dma_free_coherent'
make[3]: *** [drivers/base/dmapool.o] Error 1

<--  snip  -->

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-11  6:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-05 18:17 m68knommu: dma_{alloc,free}_coherent compile error Adrian Bunk
2006-09-11  6:02 ` Greg Ungerer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox