[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180413181924.GT4064@hirez.programming.kicks-ass.net>
Date: Fri, 13 Apr 2018 20:19:24 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Alexei Starovoitov <ast@...com>
Cc: Yonghong Song <yhs@...com>, mingo@...nel.org, 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 02:28:04PM -0700, Alexei Starovoitov wrote:
> Instead of
> #ifdef CC_HAVE_ASM_GOTO
> we can replace it with
> #ifndef __BPF__
> or some other name,
I would prefer the BPF specific hack; otherwise we might be encouraging
people to build the kernel proper without asm-goto.
Powered by blists - more mailing lists