aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2005-01-11 01:44:09 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-11 01:44:09 -0800
commitf52cf14bfd2b0e6cff9aba14dbafb96547fbeb7c (patch)
treec833997eaf1b8f4654382021873b5a702bd10f70 /arch
parent0ca63a2ac3a68acd98b2af1bf1972a61bfcfa63f (diff)
downloadhistory-f52cf14bfd2b0e6cff9aba14dbafb96547fbeb7c.tar.gz
[PATCH] ppc64: Remove flush_instruction_cache
Remove flush_instruction_cache, we cant touch HID bits on LPAR machines. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/ppc64/kernel/misc.S20
-rw-r--r--arch/ppc64/kernel/ppc_ksyms.c1
2 files changed, 0 insertions, 21 deletions
diff --git a/arch/ppc64/kernel/misc.S b/arch/ppc64/kernel/misc.S
index a795ae320b371a..1502b814a55895 100644
--- a/arch/ppc64/kernel/misc.S
+++ b/arch/ppc64/kernel/misc.S
@@ -167,27 +167,7 @@ _GLOBAL(call_with_mmu_off)
xori r0,r0,MSR_IR|MSR_DR
mtspr SPRN_SRR1,r0
rfid
-
-/*
- * Flush instruction cache.
- */
-_GLOBAL(flush_instruction_cache)
-/*
- * This is called by kgdb code
- * and should probably go away
- * to be replaced by invalidating
- * the cache lines that are actually
- * modified
- */
- /* use invalidate-all bit in HID0
- * - is this consistent across all 64-bit cpus? -- paulus */
- mfspr r3,HID0
- ori r3,r3,HID0_ICFI
- mtspr HID0,r3
- sync
- isync
- blr
.section ".toc","aw"
PPC64_CACHES:
diff --git a/arch/ppc64/kernel/ppc_ksyms.c b/arch/ppc64/kernel/ppc_ksyms.c
index 7efdaabf5b7b8e..38c0398d823cc8 100644
--- a/arch/ppc64/kernel/ppc_ksyms.c
+++ b/arch/ppc64/kernel/ppc_ksyms.c
@@ -114,7 +114,6 @@ EXPORT_SYMBOL(iounmap);
EXPORT_SYMBOL(start_thread);
EXPORT_SYMBOL(kernel_thread);
-EXPORT_SYMBOL(flush_instruction_cache);
EXPORT_SYMBOL(giveup_fpu);
#ifdef CONFIG_ALTIVEC
EXPORT_SYMBOL(giveup_altivec);