[PATCH 1/5] powerpc: consolidate feature fixup code

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Oct 14 08:36:46 EST 2006

> You can advance the pointer with L1_CACHE_BYTES/sizeof(int) per
> iteration in the second loop here.

Yeah, I suppose so. Though I'm not 100% confident we get L1_CACHE_BYTES
on all cpus, for example, PA6T is 64 bytes ;) We could use
cur_cpu_spec->icache_bsize but that would involve ugly RELOC's to get it
right on 32 bits. I decided not to care for now.


More information about the Linuxppc-dev mailing list