Re: ALSA & missing dma_*_coherent on sparc32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 26, 2007 at 02:15:43PM +0200, Takashi Iwai wrote:
> At Thu, 26 Jul 2007 15:02:51 +0300 (EEST),
> Meelis Roos wrote:
> > 
> > > > ERROR: "dma_free_coherent" [sound/core/snd-page-alloc.ko] undefined!
> > > > ERROR: "dma_alloc_coherent" [sound/core/snd-page-alloc.ko] undefined!
> > > 
> > > Could you show .config?  Does it have CONFIG_HAS_DMA?
> > 
> > No, CONFIG_NO_DMA=y - and this was recently changed on sparc32 IIRC.
> 
> OK, then could you try the patch below?

Hi Takashi-san.

Can I ask you to introdue use of the -y syntax for composite objects.
This would simplify soucd/core/Makefile

The below would then become:
>  
> -snd-page-alloc-objs := memalloc.o sgbuf.o
> +snd-page-alloc-y := memalloc.o
> +snd-page-alloc-$(CONFIG_HAS_DMA) += sgbuf.o
>  
>  snd-rawmidi-objs  := rawmidi.o
>  snd-timer-objs    := timer.o

Ask if you have questions.

Thanks,
	Sam
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux