Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932610AbXF1Wvc (ORCPT ); Thu, 28 Jun 2007 18:51:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1765495AbXF1WvS (ORCPT ); Thu, 28 Jun 2007 18:51:18 -0400 Received: from scrub.xs4all.nl ([194.109.195.176]:1823 "EHLO scrub.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765395AbXF1WvR (ORCPT ); Thu, 28 Jun 2007 18:51:17 -0400 Date: Fri, 29 Jun 2007 00:51:31 +0200 (CEST) From: Roman Zippel X-X-Sender: roman@scrub.home To: Alan Cox cc: Andrew Morton , Geert Uytterhoeven , Heiko Carstens , linux-kernel@vger.kernel.org, Martin Schwidefsky Subject: Re: [patch -mm] Make check_signature() depend on CONFIG_HAS_IOMEM In-Reply-To: <20070628232537.02ced21c@the-village.bc.nu> Message-ID: References: <20070628034321.38c9f12b.akpm@linux-foundation.org> <20070628133715.GA4343@osiris.boeblingen.de.ibm.com> <20070628110644.a530cfef.akpm@linux-foundation.org> <20070628113819.c24e592d.akpm@linux-foundation.org> <20070628132947.e3378811.akpm@linux-foundation.org> <20070628232537.02ced21c@the-village.bc.nu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 903 Lines: 24 Hi, On Thu, 28 Jun 2007, Alan Cox wrote: > > check_signature() needs readb() but with some setups (s390, m68k allmodconfig) > > there is no implementation of readb. This causes build errors with > > -Werror-implicit-function-declaration. > > This completely bogus. readb() should be present on M68K, fix the > platform to implement readb() for MMIO, even if your MMIO readb is a > moveb instruction. > > check_signature is relevant for anything with MMIO space (for example you > can legitimately want to check_signature a MAC68K Nubus ROM). A generic check_signature() is a little difficult if we have separate io functions for every bus. bye, Roman - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/