projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c8196f
)
MIPS: VR41xx: Use __flush_cache_all instead of flush_cache_all.
author
Ralf Baechle
<ralf@linux-mips.org>
Wed, 27 Jan 2016 17:39:33 +0000
(18:39 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Fri, 13 May 2016 12:01:38 +0000
(14:01 +0200)
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 <ralf@linux-mips.org>
arch/mips/vr41xx/common/pmu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/vr41xx/common/pmu.c
b/arch/mips/vr41xx/common/pmu.c
index d7f755833c3f43431b48f38b296da4df34d993e6..39a0db3e2b346f4d9164eca8935a2e4d39663026 100644
(file)
--- a/
arch/mips/vr41xx/common/pmu.c
+++ b/
arch/mips/vr41xx/common/pmu.c
@@
-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;