[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180410210716.GI4082@hirez.programming.kicks-ass.net>
Date: Tue, 10 Apr 2018 23:07:16 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Yonghong Song <yhs@...com>
Cc: mingo@...nel.org, ast@...com, daniel@...earbox.net,
linux-kernel@...r.kernel.org, x86@...nel.org, kernel-team@...com,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] x86/cpufeature: guard asm_volatile_goto usage with
CC_HAVE_ASM_GOTO
On Tue, Apr 10, 2018 at 01:42:59PM -0700, Yonghong Song wrote:
> Commit d0266046ad54 ("x86: Remove FAST_FEATURE_TESTS")
> removed X86_FAST_FEATURE_TESTS and make macro static_cpu_has() always
> use __always_inline function _static_cpu_has() funciton.
> The static_cpu_has() uses gcc feature asm_volatile_goto construct,
> which is not supported by clang.
There will be more unconditional asm-goto usage, clang is in the process
of growing asm-goto.
Powered by blists - more mailing lists