]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/runtime-const: Add the RUNTIME_CONST_PTR assembly macro
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Tue, 4 Mar 2025 15:33:42 +0000 (17:33 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Mar 2025 10:26:24 +0000 (11:26 +0100)
commitbd72baff229920da1d57c14364c11ecdbaf5b458
treee4628d42e9d4ab8d38dbe9bccac09caa9620d8e8
parentfadb6f569b10bf668677add876ed50586931b8f3
x86/runtime-const: Add the RUNTIME_CONST_PTR assembly macro

Add an assembly macro to refer runtime cost. It hides linker magic and
makes assembly more readable.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250304153342.2016569-1-kirill.shutemov@linux.intel.com
arch/x86/include/asm/runtime-const.h
arch/x86/lib/getuser.S