[BACK]Return to cache.c CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / arch / sh / boot / compressed

File: [Development] / linux-2.6-xfs / arch / sh / boot / compressed / cache.c (download)

Revision 1.1, Tue Feb 26 16:44:40 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD

Merge up to 2.6.25-rc3
Merge of 2.6.x-xfs-melb:linux:30555a by kenmcd.

int cache_control(unsigned int command)
{
	volatile unsigned int *p = (volatile unsigned int *) 0x80000000;
	int i;

	for (i = 0; i < (32 * 1024); i += 32) {
		(void)*p;
		p += (32 / sizeof (int));
	}

	return 0;
}