]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc/64s: Make mmu_hash_ops __ro_after_init
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Aug 2024 08:07:45 +0000 (18:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 5 Sep 2024 12:29:31 +0000 (22:29 +1000)
commit8589cdf0cf0b0a03d2285fc46ada2f28113f8620
tree86e4c411194a18d1f5b7abb766a0cd88c87a9e24
parent19f1bc3fb55452739dd3d56cfd06c29ecdbe3e9f
powerpc/64s: Make mmu_hash_ops __ro_after_init

The mmu_hash_ops are only assigned to during boot, so mark them
__ro_after_init to prevent any further modification.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240821080745.872151-1-mpe@ellerman.id.au
arch/powerpc/mm/book3s64/hash_utils.c