Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752867AbbBYRfI (ORCPT ); Wed, 25 Feb 2015 12:35:08 -0500 Received: from mail-vc0-f177.google.com ([209.85.220.177]:40909 "EHLO mail-vc0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751068AbbBYRfG (ORCPT ); Wed, 25 Feb 2015 12:35:06 -0500 MIME-Version: 1.0 In-Reply-To: <20150225171427.GE8656@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> From: Pranith Kumar Date: Wed, 25 Feb 2015 12:34:35 -0500 Message-ID: Subject: Re: [RFC PATCH] arm: asm/cmpxchg.h: Add support half-word xchg() To: Russell King - ARM Linux Cc: Arnd Bergmann , "moderated list:ARM PORT" , open list 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: 704 Lines: 19 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. Thanks! -- Pranith -- 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/