[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080320181310.GA17884@uranus.ravnborg.org>
Date: Thu, 20 Mar 2008 19:13:10 +0100
From: Sam Ravnborg <sam@...nborg.org>
To: Johannes Berg <johannes@...solutions.net>
Cc: Daniel Drake <dsd@...too.org>,
Linux Kernel list <linux-kernel@...r.kernel.org>,
linux-wireless <linux-wireless@...r.kernel.org>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH/RFC] introduce ARCH_CAN_UNALIGNED_ACCESS Kconfig symbol
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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists