* m68knommu, net and DMA compile error
@ 2008-10-12 11:15 Adrian Bunk
2008-10-12 19:42 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-10-12 11:15 UTC (permalink / raw)
To: gerg, David S. Miller; +Cc: linux-kernel, netdev
In the CONFIG_PCI=n case (the PCI code will be removed during this merge
window) m68knommu does not set the Kconfig NO_DMA variable, but also
does not provide the required functions, resulting in the following
build error triggered by commit a40c24a13366e324bc0ff8c3bb107db89312c984
(net: Add SKB DMA mapping helper functions.):
<-- snip -->
...
LD vmlinux
net/built-in.o: In function `skb_dma_unmap':
(.text+0xac5e): undefined reference to `dma_unmap_single'
net/built-in.o: In function `skb_dma_unmap':
(.text+0xac7a): undefined reference to `dma_unmap_page'
net/built-in.o: In function `skb_dma_map':
(.text+0xacdc): undefined reference to `dma_map_single'
net/built-in.o: In function `skb_dma_map':
(.text+0xace8): undefined reference to `dma_mapping_error'
net/built-in.o: In function `skb_dma_map':
(.text+0xad10): undefined reference to `dma_map_page'
net/built-in.o: In function `skb_dma_map':
(.text+0xad82): undefined reference to `dma_unmap_page'
net/built-in.o: In function `skb_dma_map':
(.text+0xadc6): undefined reference to `dma_unmap_single'
make[1]: *** [vmlinux] 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
* Re: m68knommu, net and DMA compile error
2008-10-12 11:15 m68knommu, net and DMA compile error Adrian Bunk
@ 2008-10-12 19:42 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-10-12 19:42 UTC (permalink / raw)
To: bunk; +Cc: gerg, linux-kernel, netdev
From: Adrian Bunk <bunk@kernel.org>
Date: Sun, 12 Oct 2008 14:15:47 +0300
> In the CONFIG_PCI=n case (the PCI code will be removed during this merge
> window) m68knommu does not set the Kconfig NO_DMA variable, but also
> does not provide the required functions, resulting in the following
> build error triggered by commit a40c24a13366e324bc0ff8c3bb107db89312c984
> (net: Add SKB DMA mapping helper functions.):
I would recommend that m68knommu set NO_DMA in it's arch Kconfig
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-12 19:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-12 11:15 m68knommu, net and DMA compile error Adrian Bunk
2008-10-12 19:42 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®