sh: Centralize the CPU cache initialization routines.