]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
m68knommu: set NO_DMA
authorAdrian Bunk <bunk@kernel.org>
Wed, 29 Oct 2008 10:15:47 +0000 (12:15 +0200)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 27 Jan 2009 06:42:00 +0000 (16:42 +1000)
commite0212e72186e855027dd35b37e9d7a99a078448c
tree171f85951ac16b1a649862c40488c44cd91b77e9
parenta1a9bcb50308b6f7fa90038ef300f3725c130dde
m68knommu: set NO_DMA

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  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68knommu/Kconfig