Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758865AbYCTSNF (ORCPT ); Thu, 20 Mar 2008 14:13:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757453AbYCTSMv (ORCPT ); Thu, 20 Mar 2008 14:12:51 -0400 Received: from pasmtpb.tele.dk ([80.160.77.98]:53289 "EHLO pasmtpB.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754766AbYCTSMu (ORCPT ); Thu, 20 Mar 2008 14:12:50 -0400 Date: Thu, 20 Mar 2008 19:13:10 +0100 From: Sam Ravnborg To: Johannes Berg Cc: Daniel Drake , Linux Kernel list , linux-wireless , netdev Subject: Re: [PATCH/RFC] introduce ARCH_CAN_UNALIGNED_ACCESS Kconfig symbol Message-ID: <20080320181310.GA17884@uranus.ravnborg.org> References: <1206023695.16475.137.camel@johannes.berg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1206023695.16475.137.camel@johannes.berg> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 947 Lines: 31 On Thu, Mar 20, 2008 at 03:34:55PM +0100, Johannes Berg wrote: > In many cases, especially in networking, it can be beneficial to > know at compile time whether the architecture can do unaligned > accesses. This patch introduces a new Kconfig symbol > ARCH_CAN_UNALIGNED_ACCESS Can we please have a single symbol defined and name it: HAVE_* Then the architectures that HAVE this feature can select the symbol. So somewhere in maybe lib/Kconfig or maybe arch/Kconfig add: config HAVE_UNALIGNED_ACCESS_SUPPORT bool And then for x86 select the symbol: config X86 + select HAVE_UNALIGNED_ACCESS_SUPPORT This follows the suggestion as available in Documentation/kbuild/kconfig-language.txt Sam -- 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/