Dear all:
When I try to port usb host on my platform, there is an error says:
drivers/built-in.o: In function `usb_buffer_map_sg':
rtc-lib.c:(.text+0x16f24): undefined reference to `dma_cache_maint'
drivers/built-in.o: In function `usb_hcd_submit_urb':
rtc-lib.c:(.text+0x1cbdc): undefined reference to `dma_cache_maint'
rtc-lib.c:(.text+0x1cc68): undefined reference to `dma_cache_maint'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/media/sda6/uclinux/uClinux-dist.2007/linux-2.6.x'
make: *** [linux] Error 1

Afte r grepping the sourcecode, I find dma_cache_maint is located at
arch/arm/mm/Consistent.c and there is also a file,
arch/arm/mm/consistent-nommu.c, which seems try to replace the
functions in Consisten.c.
My questions are:
1. what is the purpose of dma_cache_maint? Does it have any
relationship with mmu?
2. can i replace dma_cache_maint with consistent_sync in consistent-nommu.c?
3. if dma_cache_maint is the function used under mmu mode, why it only
appears in arm platform.
appreciate your help in advance,
miloody
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to