]> git.baikalelectronics.ru Git - kernel.git/commit
x86/asm: Fixup odd GEN-for-each-reg.h usage
authorPeter Zijlstra <peterz@infradead.org>
Tue, 26 Oct 2021 12:01:39 +0000 (14:01 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 28 Oct 2021 21:25:26 +0000 (23:25 +0200)
commitd4e210587f999150c4638f5689bd8a7e0104616f
treeec1c6ab78642d934506bbe78b9bc0c0345d6cc03
parent2a8a3f71e3299382856ca2cd47af221ce3416bc6
x86/asm: Fixup odd GEN-for-each-reg.h usage

Currently GEN-for-each-reg.h usage leaves GEN defined, relying on any
subsequent usage to start with #undef, which is rude.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Tested-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/r/20211026120310.041792350@infradead.org
arch/x86/include/asm/asm-prototypes.h
arch/x86/lib/retpoline.S