]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390: Add runtime constant support
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 15 Jul 2024 08:33:06 +0000 (10:33 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 23 Jul 2024 13:54:58 +0000 (15:54 +0200)
commit57e29f4c8919af7276c35c2da0ae5efb4c36c33e
treec7268d85fc3fafbb4678a4106775b7c4488066ca
parent66ebbdfdeb093e097399b1883390079cd4c3022b
s390: Add runtime constant support

Implement the runtime constant infrastructure for s390, allowing the
dcache d_hash() function to be generated using as a constant for hash
table address followed by shift by a constant of the hash index.

This is the s390 variant of commit 94a2bc0f611c ("arm64: add 'runtime
constant' support") and commit e3c92e81711d ("runtime constants: add
x86 architecture support").

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/runtime-const.h [new file with mode: 0644]
arch/s390/kernel/vmlinux.lds.S