[parisc-linux-cvs] linux willy

Matthew Wilcox willy@puffin.external.hp.com
Thu, 1 Mar 2001 18:44:00 -0700


CVSROOT:	/home/cvs/parisc
Module name:	linux
Changes by:	willy	01/03/01 18:44:00

Modified files:
	include/asm-generic: xor.h 
	include/asm-parisc: processor.h 

Log message:
Add `prefetch' and `prefetchw' macros to <asm/processor.h>,
conditionalised on CONFIG_PA20.

Change the raid functions to use prefetch if available.  Note that this
is a terribly naive prefetch, which doesn't take into account cache
line sizes.  I'm sure someone who cares can do better.  But I get a 5-15%
speed improvement on PA8500 in wide mode.