[MIPS] Allow hardwiring of the CPU type to a single type for optimization.

This saves a few k on systems which only ever ship with a single CPU type.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cette révision appartient à :
Ralf Baechle
2007-10-11 23:46:15 +01:00
Parent aeffdbbaff
révision 10cc352907
20 fichiers modifiés avec 89 ajouts et 86 suppressions

Voir le fichier

@@ -354,7 +354,7 @@ void __init build_clear_page(void)
store_offset = 0;
if (cpu_has_prefetch) {
switch (current_cpu_data.cputype) {
switch (current_cpu_type()) {
case CPU_TX49XX:
/* TX49 supports only Pref_Load */
pref_offset_clear = 0;