Skip to content

Commit

Permalink
MIPS: VR41xx: Use __flush_cache_all instead of flush_cache_all.
Browse files Browse the repository at this point in the history
It's probably a good idea to flush caches before reset and by the time
this code was written flush_cache_all did actually still do something.

Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
ralfbaechle committed May 13, 2016
1 parent 7c8196f commit a48ac3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/vr41xx/common/pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static inline void software_reset(void)
default:
set_c0_status(ST0_BEV | ST0_ERL);
change_c0_config(CONF_CM_CMASK, CONF_CM_UNCACHED);
flush_cache_all();
__flush_cache_all();
write_c0_wired(0);
__asm__("jr %0"::"r"(0xbfc00000));
break;
Expand Down

0 comments on commit a48ac3a

Please sign in to comment.