]> git.ipfire.org Git - thirdparty/linux.git/commit
arm64: add 'runtime constant' support
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 8 Jun 2024 20:22:31 +0000 (13:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jul 2024 14:30:43 +0000 (07:30 -0700)
commit94a2bc0f611cd9fa4d26e4679bf7ea4b01b12d56
treef19a35a55994647fe20814aa14e6389f10306de8
parente3c92e81711d14b46c3121d36bc8e152cb843923
arm64: add 'runtime constant' support

This implements the runtime constant infrastructure for arm64, 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.

[ Fixed up to deal with the big-endian case as per Mark Rutland ]

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm64/include/asm/runtime-const.h [new file with mode: 0644]
arch/arm64/kernel/vmlinux.lds.S