summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-07-17 02:25:59 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2024-07-17 02:25:59 +0200
commit17e6a1213058d8759bcf043151c04612df55ebc4 (patch)
treef96cb388a60d094106732f13ee129834beaf891f /arch/um
parentMerge tag 'perf-core-2024-07-16' of git://git.kernel.org/pub/scm/linux/kernel... (diff)
downloadlinux-17e6a1213058d8759bcf043151c04612df55ebc4.tar.xz
linux-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/um')
-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