aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/nohash/8xx.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2020-08-14 05:49:29 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2020-09-02 11:00:22 +1000
commit76d46a1e2fe2c35f24c07b7cc8a41afbf98b349e (patch)
treead582cc9606092947b204cc457a5ec80d5806a91 /arch/powerpc/mm/nohash/8xx.c
parentpowerpc: unrel_branch_check.sh: enable the use of llvm-objdump v9, 10 or 11 (diff)
downloadlinux-dev-76d46a1e2fe2c35f24c07b7cc8a41afbf98b349e.tar.xz
linux-dev-76d46a1e2fe2c35f24c07b7cc8a41afbf98b349e.zip
powerpc: Remove flush_instruction_cache() on 8xx
flush_instruction_cache() is never used on 8xx, remove it. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/245cabd8f291facac8c8c5fd370e361a69e02860.1597384145.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/mm/nohash/8xx.c')
-rw-r--r--arch/powerpc/mm/nohash/8xx.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/mm/nohash/8xx.c b/arch/powerpc/mm/nohash/8xx.c
index d2b37146ae6c..231ca95f9ffb 100644
--- a/arch/powerpc/mm/nohash/8xx.c
+++ b/arch/powerpc/mm/nohash/8xx.c
@@ -244,13 +244,6 @@ void set_context(unsigned long id, pgd_t *pgd)
mb();
}
-void flush_instruction_cache(void)
-{
- isync();
- mtspr(SPRN_IC_CST, IDC_INVALL);
- isync();
-}
-
#ifdef CONFIG_PPC_KUEP
void __init setup_kuep(bool disabled)
{