diff options
Diffstat (limited to 'arch/microblaze/kernel/cpu/mb.c')
-rw-r--r-- | arch/microblaze/kernel/cpu/mb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/microblaze/kernel/cpu/mb.c b/arch/microblaze/kernel/cpu/mb.c index 0afebaebb5b5..7b5dca7ed39d 100644 --- a/arch/microblaze/kernel/cpu/mb.c +++ b/arch/microblaze/kernel/cpu/mb.c | |||
@@ -114,10 +114,11 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
114 | "Dcache:\t\t%ukB\tline length:\t%dB\n", | 114 | "Dcache:\t\t%ukB\tline length:\t%dB\n", |
115 | cpuinfo.dcache_size >> 10, | 115 | cpuinfo.dcache_size >> 10, |
116 | cpuinfo.dcache_line_length); | 116 | cpuinfo.dcache_line_length); |
117 | seq_printf(m, "Dcache-Policy:\t"); | ||
117 | if (cpuinfo.dcache_wb) | 118 | if (cpuinfo.dcache_wb) |
118 | count += seq_printf(m, "\t\twrite-back\n"); | 119 | count += seq_printf(m, "write-back\n"); |
119 | else | 120 | else |
120 | count += seq_printf(m, "\t\twrite-through\n"); | 121 | count += seq_printf(m, "write-through\n"); |
121 | } else | 122 | } else |
122 | count += seq_printf(m, "Dcache:\t\tno\n"); | 123 | count += seq_printf(m, "Dcache:\t\tno\n"); |
123 | 124 | ||