From mboxrd@z Thu Jan 1 00:00:00 1970 From: elder@linaro.org (Alex Elder) Date: Wed, 28 Jan 2015 14:15:06 -0600 Subject: [PATCH] bcm: address clang inline asm incompatibility In-Reply-To: References: <1422422306-27473-1-git-send-email-behanw@converseincode.com> <54C8EE04.6060809@linaro.org> <54C91791.9030508@linaro.org> <54C9383D.10901@linaro.org> Message-ID: <54C9434A.30000@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 01/28/2015 02:11 PM, Ard Biesheuvel wrote: > Actually, if clang is guaranteed to emit the correct register name > inside the inline asm for register asm variables used in input or > output constraints, I think it makes sense to #define __asmeq as a nop > if __clang__ is defined. (Note that __asmeq only exists to work around > a specific GCC bug) I agree completely. Behan, what do you think? -Alex