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
-  Lines: 14
-  Date:
Wed Apr 11 21:24:52 2001
-  Orig file: 
v2.4.3/linux/arch/sh/mm/cache.c
-  Orig date: 
Sun Jan 28 18:56:00 2001
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)