summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>1997-07-29 21:45:58 +0000
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>1997-07-29 21:45:58 +0000
commit90ab26a7cf4c3736e9ac0fb5c23e0536322ccbd9 (patch)
treef279568e0abf51495d622ac0511d04a8b2073e4d /include
parentf73b890afdc207a2e6e2ed4d90c3447e6af33482 (diff)
fixed bug with freeing of virtual dma entry
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips/floppy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/floppy.h b/include/asm-mips/floppy.h
index f639f5aed..4409b538e 100644
--- a/include/asm-mips/floppy.h
+++ b/include/asm-mips/floppy.h
@@ -71,7 +71,7 @@ extern __inline__ void mips_dma_mem_free(unsigned long addr, unsigned long size)
{
#ifdef CONFIG_MIPS_JAZZ
if (mips_machgroup == MACH_GROUP_JAZZ)
- vdma_free(PHYSADDR(addr));
+ vdma_free(vdma_phys2log(PHYSADDR(addr)));
#endif
free_pages(addr, __get_order(size));
}