[RFC] powerpc: Merge 32/64 cacheflush code

Milton Miller miltonm at bga.com
Tue Dec 20 01:52:47 EST 2005


On Mon Dec 19 16:44:10 EST 2005, David Gibson wrote:

> +extern void wback_dcache_range(unsigned long start, unsigned long 
> stop);
> +extern void wback_inval_dcache_range(unsigned long start, unsigned 
> long stop);

I think that while we are here we should change the arguments to be 
pointers (void *).   The assembly doesn't care, and almost all of the 
users are casting from pointer to usigned long at the call site, with 
dart being the exception.  The instruction cache flush should also 
change.

milton




More information about the Linuxppc64-dev mailing list