Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754804Ab2KMKcm (ORCPT ); Tue, 13 Nov 2012 05:32:42 -0500 Received: from mail-vb0-f46.google.com ([209.85.212.46]:36517 "EHLO mail-vb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753421Ab2KMKci (ORCPT ); Tue, 13 Nov 2012 05:32:38 -0500 MIME-Version: 1.0 In-Reply-To: <20121113082615.2f482eb8835daf46e1f27947@canb.auug.org.au> References: <20121113082615.2f482eb8835daf46e1f27947@canb.auug.org.au> Date: Tue, 13 Nov 2012 11:32:37 +0100 X-Google-Sender-Auth: P62hpceS-ChP2XkecoUMPwFIqrE Message-ID: Subject: Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS From: Geert Uytterhoeven To: Stephen Rothwell Cc: Andrew Morton , Bjorn Helgaas , H Hartley Sweeten , linux-kernel@vger.kernel.org, Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, "David S. Miller" , sparclinux@vger.kernel.org, linux-arch@vger.kernel.org, Paul Mundt , linux-sh@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1396 Lines: 37 On Mon, Nov 12, 2012 at 10:26 PM, Stephen Rothwell wrote: > diff --git a/arch/Kconfig b/arch/Kconfig > index 366ec06..9bc00e7 100644 > --- a/arch/Kconfig > +++ b/arch/Kconfig > @@ -271,6 +271,13 @@ config ARCH_WANT_OLD_COMPAT_IPC > select ARCH_WANT_COMPAT_IPC_PARSE_VERSION > bool > > +config ARCH_NO_VIRT_TO_BUS > + bool > + help > + An architecture should select this if it cannot (or will not) > + implement virt_to_bus(). All new architectures should probably > + select this. Don't we typically put the burden of selecting Kconfig flags for deprecated features on the existing architectures that provide the deprecated features? I.e. shouldn't it be ARCH_HAS_VIRT_TO_BUS, selected by the architectures that need it, instead? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- 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/