projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b1992b
)
powerpc: Remove flush_instruction_cache() on 8xx
author
Christophe Leroy
<christophe.leroy@csgroup.eu>
Fri, 14 Aug 2020 05:49:29 +0000
(
05:49
+0000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 2 Sep 2020 01:00:22 +0000
(11:00 +1000)
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
arch/powerpc/mm/nohash/8xx.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/mm/nohash/8xx.c
b/arch/powerpc/mm/nohash/8xx.c
index
d2b3714
..
231ca95
100644
(file)
--- 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)
{