patch-2.4.4 linux/arch/sh/mm/cache.c

Next file: linux/arch/sh/mm/extable.c
Previous file: linux/arch/sh/kernel/time.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/arch/sh/mm/cache.c linux/arch/sh/mm/cache.c
@@ -148,7 +148,13 @@
 		cpu_data->type = CPU_SH7729;
 	}
 #elif defined(__SH4__)
+#ifdef CONFIG_CPU_SUBTYPE_ST40STB1
+	cpu_data->type = CPU_ST40STB1;
+#elif defined(CONFIG_CPU_SUBTYPE_SH7750)
 	cpu_data->type = CPU_SH7750;
+#else
+#error Unknown SH4 CPU type
+#endif
 #endif
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)