|
@@ -165,7 +165,7 @@ static inline void flush_icache_line(unsigned long addr)
|
|
__iflush_prologue
|
|
__iflush_prologue
|
|
switch (boot_cpu_type()) {
|
|
switch (boot_cpu_type()) {
|
|
case CPU_LOONGSON2:
|
|
case CPU_LOONGSON2:
|
|
- cache_op(Hit_Invalidate_I_Loongson23, addr);
|
|
|
|
|
|
+ cache_op(Hit_Invalidate_I_Loongson2, addr);
|
|
break;
|
|
break;
|
|
|
|
|
|
default:
|
|
default:
|
|
@@ -219,7 +219,7 @@ static inline void protected_flush_icache_line(unsigned long addr)
|
|
{
|
|
{
|
|
switch (boot_cpu_type()) {
|
|
switch (boot_cpu_type()) {
|
|
case CPU_LOONGSON2:
|
|
case CPU_LOONGSON2:
|
|
- protected_cache_op(Hit_Invalidate_I_Loongson23, addr);
|
|
|
|
|
|
+ protected_cache_op(Hit_Invalidate_I_Loongson2, addr);
|
|
break;
|
|
break;
|
|
|
|
|
|
default:
|
|
default:
|
|
@@ -452,8 +452,8 @@ static inline void prot##extra##blast_##pfx##cache##_range(unsigned long start,
|
|
__BUILD_BLAST_CACHE_RANGE(d, dcache, Hit_Writeback_Inv_D, protected_, )
|
|
__BUILD_BLAST_CACHE_RANGE(d, dcache, Hit_Writeback_Inv_D, protected_, )
|
|
__BUILD_BLAST_CACHE_RANGE(s, scache, Hit_Writeback_Inv_SD, protected_, )
|
|
__BUILD_BLAST_CACHE_RANGE(s, scache, Hit_Writeback_Inv_SD, protected_, )
|
|
__BUILD_BLAST_CACHE_RANGE(i, icache, Hit_Invalidate_I, protected_, )
|
|
__BUILD_BLAST_CACHE_RANGE(i, icache, Hit_Invalidate_I, protected_, )
|
|
-__BUILD_BLAST_CACHE_RANGE(i, icache, Hit_Invalidate_I_Loongson23, \
|
|
|
|
- protected_, loongson23_)
|
|
|
|
|
|
+__BUILD_BLAST_CACHE_RANGE(i, icache, Hit_Invalidate_I_Loongson2, \
|
|
|
|
+ protected_, loongson2_)
|
|
__BUILD_BLAST_CACHE_RANGE(d, dcache, Hit_Writeback_Inv_D, , )
|
|
__BUILD_BLAST_CACHE_RANGE(d, dcache, Hit_Writeback_Inv_D, , )
|
|
__BUILD_BLAST_CACHE_RANGE(s, scache, Hit_Writeback_Inv_SD, , )
|
|
__BUILD_BLAST_CACHE_RANGE(s, scache, Hit_Writeback_Inv_SD, , )
|
|
/* blast_inv_dcache_range */
|
|
/* blast_inv_dcache_range */
|