summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-07-16 17:25:59 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2024-07-16 17:25:59 -0700
commit17e6a1213058d8759bcf043151c04612df55ebc4 (patch)
treef96cb388a60d094106732f13ee129834beaf891f /arch
parent576a997c6315ee482519e7cc080f341b07638808 (diff)
downloadlinux-stable-17e6a1213058d8759bcf043151c04612df55ebc4.tar.gz
linux-stable-17e6a1213058d8759bcf043151c04612df55ebc4.tar.bz2
linux-stable-17e6a1213058d8759bcf043151c04612df55ebc4.zip
um: Use generic runtime constant implementation
UML should not be using the architecture native runtime constants, since that requires also having the appropriate instruction fixups (and all the linker script details). Not that using that code would be impossible, but it's not worth it. Just point UML at the generic version. Reported-by: Nathan Chancellor <nathan@kernel.org> Fixes: e3c92e81711d ("runtime constants: add x86 architecture support") Link: https://lore.kernel.org/all/20240716143644.GA1827132@thelio-3990X/ Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/um/include/asm/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/include/asm/Kbuild b/arch/um/include/asm/Kbuild
index 6c583040537c..18f902da8e99 100644
--- a/arch/um/include/asm/Kbuild
+++ b/arch/um/include/asm/Kbuild
@@ -19,6 +19,7 @@ generic-y += param.h
generic-y += parport.h
generic-y += percpu.h
generic-y += preempt.h
+generic-y += runtime-const.h
generic-y += softirq_stack.h
generic-y += switch_to.h
generic-y += topology.h