projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbeda67
)
microblaze: Do not check use_dcache
author
Michal Simek
<monstr@monstr.eu>
Tue, 21 Apr 2009 12:07:00 +0000
(14:07 +0200)
committer
Michal Simek
<monstr@monstr.eu>
Thu, 23 Apr 2009 14:27:31 +0000
(16:27 +0200)
It is not necessary to check cpuinfo.use_dcache because
this checking is done in function which call that functions
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/cpu/cache.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/kernel/cpu/cache.c
b/arch/microblaze/kernel/cpu/cache.c
index be9fecca4f9164445361eb6d9ecfd2b74b3fddf3..af866a4501256a4028b0daa99c92ff40a8b40e69 100644
(file)
--- a/
arch/microblaze/kernel/cpu/cache.c
+++ b/
arch/microblaze/kernel/cpu/cache.c
@@
-100,7
+100,6
@@
void _enable_dcache(void)
void _disable_dcache(void)
{
- if (cpuinfo.use_dcache) {
#if CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR
__asm__ __volatile__ (" \
msrclr r0, %0; \
@@
-119,12
+118,10
@@
void _disable_dcache(void)
: "i" (MSR_DCE) \
: "memory", "r12");
#endif
- }
}
void _invalidate_dcache(unsigned int addr)
{
- if (cpuinfo.use_dcache)
__asm__ __volatile__ (" \
wdc %0, r0" \
: \