]> Git Repo - linux.git/commit
powerpc/mm: Remove empty hash__ functions
authorBenjamin Gray <[email protected]>
Wed, 9 Nov 2022 04:51:07 +0000 (15:51 +1100)
committerMichael Ellerman <[email protected]>
Wed, 30 Nov 2022 10:46:48 +0000 (21:46 +1100)
commitbaf1ed24b27db475b38f534953885d0425e2232d
treebe60cb16952951a414f49883c04c2caea2f69f6d
parent071c95c1acbd96e76bab8b25b5cad0d71a011f37
powerpc/mm: Remove empty hash__ functions

The empty hash__* functions are unnecessary. The empty definitions were
introduced when 64-bit Hash support was added, as the functions were
still used in generic code. These empty definitions were prefixed with
hash__ when Radix support was added, and new wrappers with the original
names were added that selected the Radix or Hash version based on
radix_enabled().

But the hash__ prefixed functions were not part of a public interface,
so there is no need to include them for compatibility with anything.
Generic code will use the non-prefixed wrappers, and Hash specific code
will know that there is no point in calling them (or even worse, call
them and expect them to do something).

Signed-off-by: Benjamin Gray <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
arch/powerpc/include/asm/book3s/64/tlbflush-hash.h
arch/powerpc/include/asm/book3s/64/tlbflush.h
This page took 0.061804 seconds and 4 git commands to generate.