summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2007-01-23 21:24:20 +0100
committerKyle McMartin <kyle@athena.road.mcmartin.ca>2007-02-17 01:15:16 -0500
commit2f75c12c663fc4bf198459d3f932ce3896cb126f (patch)
tree03adf3c274316039bda14b9dd493f6ebda30c02e /arch/parisc
parentc5e7655297b5de47a279abcdcd1065690aa25c56 (diff)
downloadop-kernel-dev-2f75c12c663fc4bf198459d3f932ce3896cb126f.zip
op-kernel-dev-2f75c12c663fc4bf198459d3f932ce3896cb126f.tar.gz
[PARISC] Fixes /proc/cpuinfo cache output on B160L
Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/cache.c b/arch/parisc/kernel/cache.c
index 75582c5..0dc924cc 100644
--- a/arch/parisc/kernel/cache.c
+++ b/arch/parisc/kernel/cache.c
@@ -89,7 +89,7 @@ show_cache_info(struct seq_file *m)
seq_printf(m, "I-cache\t\t: %ld KB\n",
cache_info.ic_size/1024 );
- if (cache_info.dc_loop == 1)
+ if (cache_info.dc_loop != 1)
snprintf(buf, 32, "%lu-way associative", cache_info.dc_loop);
seq_printf(m, "D-cache\t\t: %ld KB (%s%s, %s)\n",
cache_info.dc_size/1024,
OpenPOWER on IntegriCloud