]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
runtime constants: add default dummy infrastructure
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 4 Jun 2024 19:30:02 +0000 (12:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 19 Jun 2024 19:34:34 +0000 (12:34 -0700)
commite78298556ee5d881f6679effb2a6743969ea6e2d
tree207742567635f7acab0a2e4b6a2bf35ef18977d4
parente60cc61153e61e4e38bd983492df9959e82ae4dc
runtime constants: add default dummy infrastructure

This adds the initial dummy support for 'runtime constants' for when
an architecture doesn't actually support an implementation of fixing
up said runtime constants.

This ends up being the fallback to just using the variables as regular
__ro_after_init variables, and changes the dcache d_hash() function to
use this model.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/dcache.c
include/asm-generic/Kbuild
include/asm-generic/runtime-const.h [new file with mode: 0644]
include/asm-generic/vmlinux.lds.h