]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/alternatives: Simplify alternative_call() interface
authorJosh Poimboeuf <jpoimboe@kernel.org>
Mon, 3 Mar 2025 01:21:01 +0000 (17:21 -0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 4 Mar 2025 10:21:40 +0000 (11:21 +0100)
commit224788b63a2e426b6b82c76456a068a2ab87610f
tree721d3b66ef0aff46a437370a9c2c8714830ff131
parent9064a8e556fa70ccfd9c414350406ed4887d3059
x86/alternatives: Simplify alternative_call() interface

Separate the input from the clobbers in preparation for appending the
input.

Do this in preparation of changing the ASM_CALL_CONSTRAINT primitive.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: linux-kernel@vger.kernel.org
arch/x86/include/asm/alternative.h
arch/x86/include/asm/apic.h
arch/x86/include/asm/asm.h
arch/x86/include/asm/atomic64_32.h
arch/x86/include/asm/page_64.h