diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-08-13 19:32:11 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-09-16 22:10:25 -0400 |
commit | 3aa670419a02b19a2168894f7edbb5e4b9e4e607 (patch) | |
tree | 1055ea62cfe2c45e6af75a82918fb32f606fa56d /arch/blackfin/kernel | |
parent | 0198b3bcaed1374f454e56e46f0e1ca1fc24e0a1 (diff) |
Blackfin: punt dead cache locking code
No one uses these functions, and some are duplicate of existing C code. So
just punt the whole thing.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel')
-rw-r--r-- | arch/blackfin/kernel/setup.c | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index f92fffc31689..ce02f9818427 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c | |||
@@ -1238,57 +1238,6 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
1238 | #ifdef __ARCH_SYNC_CORE_ICACHE | 1238 | #ifdef __ARCH_SYNC_CORE_ICACHE |
1239 | seq_printf(m, "SMP Icache Flushes\t: %lu\n\n", cpudata->icache_invld_count); | 1239 | seq_printf(m, "SMP Icache Flushes\t: %lu\n\n", cpudata->icache_invld_count); |
1240 | #endif | 1240 | #endif |
1241 | #ifdef CONFIG_BFIN_ICACHE_LOCK | ||
1242 | switch ((cpudata->imemctl >> 3) & WAYALL_L) { | ||
1243 | case WAY0_L: | ||
1244 | seq_printf(m, "Way0 Locked-Down\n"); | ||
1245 | break; | ||
1246 | case WAY1_L: | ||
1247 | seq_printf(m, "Way1 Locked-Down\n"); | ||
1248 | break; | ||
1249 | case WAY01_L: | ||
1250 | seq_printf(m, "Way0,Way1 Locked-Down\n"); | ||
1251 | break; | ||
1252 | case WAY2_L: | ||
1253 | seq_printf(m, "Way2 Locked-Down\n"); | ||
1254 | break; | ||
1255 | case WAY02_L: | ||
1256 | seq_printf(m, "Way0,Way2 Locked-Down\n"); | ||
1257 | break; | ||
1258 | case WAY12_L: | ||
1259 | seq_printf(m, "Way1,Way2 Locked-Down\n"); | ||
1260 | break; | ||
1261 | case WAY012_L: | ||
1262 | seq_printf(m, "Way0,Way1 & Way2 Locked-Down\n"); | ||
1263 | break; | ||
1264 | case WAY3_L: | ||
1265 | seq_printf(m, "Way3 Locked-Down\n"); | ||
1266 | break; | ||
1267 | case WAY03_L: | ||
1268 | seq_printf(m, "Way0,Way3 Locked-Down\n"); | ||
1269 | break; | ||
1270 | case WAY13_L: | ||
1271 | seq_printf(m, "Way1,Way3 Locked-Down\n"); | ||
1272 | break; | ||
1273 | case WAY013_L: | ||
1274 | seq_printf(m, "Way 0,Way1,Way3 Locked-Down\n"); | ||
1275 | break; | ||
1276 | case WAY32_L: | ||
1277 | seq_printf(m, "Way3,Way2 Locked-Down\n"); | ||
1278 | break; | ||
1279 | case WAY320_L: | ||
1280 | seq_printf(m, "Way3,Way2,Way0 Locked-Down\n"); | ||
1281 | break; | ||
1282 | case WAY321_L: | ||
1283 | seq_printf(m, "Way3,Way2,Way1 Locked-Down\n"); | ||
1284 | break; | ||
1285 | case WAYALL_L: | ||
1286 | seq_printf(m, "All Ways are locked\n"); | ||
1287 | break; | ||
1288 | default: | ||
1289 | seq_printf(m, "No Ways are locked\n"); | ||
1290 | } | ||
1291 | #endif | ||
1292 | 1241 | ||
1293 | if (cpu_num != num_possible_cpus() - 1) | 1242 | if (cpu_num != num_possible_cpus() - 1) |
1294 | return 0; | 1243 | return 0; |