On Tue, Apr 01, 2003 at 02:37:20PM +0200, Hartvig Ekner wrote: > The patch totally removes the dma_cache functions and the function > pointers when the kernel is compiled for HW coherency. Previously it > didn't compile at all since the function pointers are non-existant in > this case. > > The same problem exists in all the other c-*.c files in arch/mips/mm, > so maybe there is something which I don't understand? The reason is trivial - to this date only two platforms do support hw coherency for I/O, the R10000-based Origin 200/2000 aka SGI IP27 and Sibyte SB1-based platforms. Fortunately the number of coherent platforms is increasing. The extra hardware costs very little these days but it dramatically helping to guarantee system performance and correctness of system software. Ralf