mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
x86/runtime-const: Add the RUNTIME_CONST_PTR assembly macro
[ Upstream commitbd72baff22] 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 Stable-dep-of:284922f4c5("x86: uaccess: don't use runtime-const rewriting in modules") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
141a3e658b
commit
822166b6b7
2 changed files with 15 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue