From patchwork Wed Oct 29 10:15:47 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Bunk X-Patchwork-Id: 6237 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 0E53CDDDD8 for ; Wed, 29 Oct 2008 21:17:11 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753287AbYJ2KRJ (ORCPT ); Wed, 29 Oct 2008 06:17:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753238AbYJ2KRI (ORCPT ); Wed, 29 Oct 2008 06:17:08 -0400 Received: from smtp6.pp.htv.fi ([213.243.153.40]:58385 "EHLO smtp6.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753162AbYJ2KRH (ORCPT ); Wed, 29 Oct 2008 06:17:07 -0400 Received: from cs181140183.pp.htv.fi (cs181140183.pp.htv.fi [82.181.140.183]) by smtp6.pp.htv.fi (Postfix) with ESMTP id 18A055BC021; Wed, 29 Oct 2008 12:17:04 +0200 (EET) Date: Wed, 29 Oct 2008 12:15:47 +0200 From: Adrian Bunk To: gerg@uclinux.org Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Andrew Morton Subject: [RFC: 2.6.28 patch] m68knommu: set NO_DMA Message-ID: <20081029101547.GB28224@cs181140183.pp.htv.fi> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 --- -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig index 76b66fe..d532687 100644 --- a/arch/m68knommu/Kconfig +++ b/arch/m68knommu/Kconfig @@ -14,6 +14,10 @@ config MMU bool default n +config NO_DMA + bool + default y + config FPU bool default n