[parisc-linux] Re: [parisc-linux-cvs] linux-2.6 jejb

Randolph Chung Randolph Chung <randolph@tausq.org>
Fri, 19 Sep 2003 04:24:45 -0700


> -#undef CACHE_FLUSHING_IS_NOT_BROKEN
> -#ifdef CACHE_FLUSHING_IS_NOT_BROKEN
> +	flush_user_dcache_range((unsigned long) &frame->tramp[0],
> +			   (unsigned long) &frame->tramp[4]);
>  	flush_user_icache_range((unsigned long) &frame->tramp[0],
>  			   (unsigned long) &frame->tramp[4]);

we also have a flush_icache_user_range range macro that does this (flush
dcache + icache). The kernel seems to use both..... 

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/