diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-07-15 11:23:23 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:31:54 -0400 |
commit | 1d40cfcd3442a53e98468cdb3e6d4d9a568d76cf (patch) | |
tree | 76d3ba7ac251389194b74c4343d7c46231442044 /arch/mips/mm/pg-r4k.c | |
parent | bdf21b18b4abf983db38f04ef7fec88f47389867 (diff) |
Avoid SMP cacheflushes. This is a minor optimization of startup but
will also avoid smp_call_function from doing stupid things when called
from a CPU that is not yet marked online.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/pg-r4k.c')
-rw-r--r-- | arch/mips/mm/pg-r4k.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/mm/pg-r4k.c b/arch/mips/mm/pg-r4k.c index 9f8b16541577..75d9ebfc5431 100644 --- a/arch/mips/mm/pg-r4k.c +++ b/arch/mips/mm/pg-r4k.c | |||
@@ -404,9 +404,6 @@ dest = label(); | |||
404 | 404 | ||
405 | build_jr_ra(); | 405 | build_jr_ra(); |
406 | 406 | ||
407 | flush_icache_range((unsigned long)&clear_page_array, | ||
408 | (unsigned long) epc); | ||
409 | |||
410 | BUG_ON(epc > clear_page_array + ARRAY_SIZE(clear_page_array)); | 407 | BUG_ON(epc > clear_page_array + ARRAY_SIZE(clear_page_array)); |
411 | } | 408 | } |
412 | 409 | ||
@@ -482,8 +479,5 @@ dest = label(); | |||
482 | 479 | ||
483 | build_jr_ra(); | 480 | build_jr_ra(); |
484 | 481 | ||
485 | flush_icache_range((unsigned long)©_page_array, | ||
486 | (unsigned long) epc); | ||
487 | |||
488 | BUG_ON(epc > copy_page_array + ARRAY_SIZE(copy_page_array)); | 482 | BUG_ON(epc > copy_page_array + ARRAY_SIZE(copy_page_array)); |
489 | } | 483 | } |