um: Use generic runtime constant implementation
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jul 2024 00:25:59 +0000 (17:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jul 2024 00:25:59 +0000 (17:25 -0700)
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>
arch/um/include/asm/Kbuild

index 6c58304..18f902d 100644 (file)
@@ -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