git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove dma_cache_(wback|inv|wback_inv) functions
[safe/jmp/linux-2.6]
/
arch
/
sh
/
drivers
/
pci
/
dma-dreamcast.c
diff --git
a/arch/sh/drivers/pci/dma-dreamcast.c
b/arch/sh/drivers/pci/dma-dreamcast.c
index
230d6ec
..
888a340
100644
(file)
--- a/
arch/sh/drivers/pci/dma-dreamcast.c
+++ b/
arch/sh/drivers/pci/dma-dreamcast.c
@@
-51,7
+51,7
@@
void *dreamcast_consistent_alloc(struct device *dev, size_t size,
buf = P2SEGADDR(buf);
/* Flush the dcache before we hand off the buffer */
-
dma_cache_wback_inv
((void *)buf, size);
+
__flush_purge_region
((void *)buf, size);
return (void *)buf;
}