Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144147
b: refs/heads/master
c: 6dfb79a
h: refs/heads/master
i:
  144145: 0676b10
  144143: 91f5364
v: v3
  • Loading branch information
Michal Simek committed Apr 23, 2009
1 parent 60b734a commit 5de4343
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fbeda67782689bf80109512b16ac47264a282d01
refs/heads/master: 6dfb79aa114ac69032f3931235ffc90799e9630b
3 changes: 0 additions & 3 deletions trunk/arch/microblaze/kernel/cpu/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand All @@ -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" \
: \
Expand Down

0 comments on commit 5de4343

Please sign in to comment.