From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752880AbbBYRig (ORCPT ); Wed, 25 Feb 2015 12:38:36 -0500 Received: from pandora.arm.linux.org.uk ([78.32.30.218]:34974 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752326AbbBYRif (ORCPT ); Wed, 25 Feb 2015 12:38:35 -0500 Date: Wed, 25 Feb 2015 17:38:27 +0000 From: Russell King - ARM Linux To: Pranith Kumar Cc: Arnd Bergmann , "moderated list:ARM PORT" , open list Subject: Re: [RFC PATCH] arm: asm/cmpxchg.h: Add support half-word xchg() Message-ID: <20150225173827.GH8656@n2100.arm.linux.org.uk> References: <1424878581-11701-1-git-send-email-bobby.prani@gmail.com> <3465519.0ga9zC7F7b@wuerfel> <16818946.F4B9s6bbtr@wuerfel> <20150225171427.GE8656@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 25, 2015 at 12:34:35PM -0500, Pranith Kumar wrote: > On Wed, Feb 25, 2015 at 12:14 PM, Russell King - ARM Linux > wrote: > > Actually, I think we ought to get rid of __bad_xchg() so that cases > > like this cause a link error instead of a runtime error, just like we > > do in other cases as well. > > > > That's something that goes back ages (it used to be called something > > like invalidptr in 2.0 kernels...) > > That sounds like a good idea. I will cook up a patch doing this. I've just removed it on my build system's tree, and we'll see tomorrow morning how it fairs. If it spits out a lot of errors, we won't be able to remove it. -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net.