summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup_64.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2006-09-06 21:34:41 +0200
committerPaul Mackerras <paulus@samba.org>2006-09-13 10:39:52 +0200
commit5a2fe38d2844ba2f2dd8f4946d795e09d8f7e095 (patch)
tree21a995bedd7c7fdca8b2fdb3b7f91f4bfc8228a3 /arch/powerpc/kernel/setup_64.c
parent[POWERPC] PPC 4xx: Enable XMON on PPC 4xx boards (diff)
downloadlinux-5a2fe38d2844ba2f2dd8f4946d795e09d8f7e095.tar.xz
linux-5a2fe38d2844ba2f2dd8f4946d795e09d8f7e095.zip
[POWERPC] powerpc: Reduce default cacheline size to 64 bytes
Reduce default cacheline size on 64-bit powerpc from 128 bytes to 64. This is the architected minimum. In most cases we'll still end up using cache line information from the device tree, but defaults are used during early boot and doing a few dcbst/icbi's too many there won't do any harm. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r--arch/powerpc/kernel/setup_64.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index 77efe19ccd2c..00d6b8addd78 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -78,10 +78,10 @@ u64 ppc64_pft_size;
* before we've read this from the device tree.
*/
struct ppc64_caches ppc64_caches = {
- .dline_size = 0x80,
- .log_dline_size = 7,
- .iline_size = 0x80,
- .log_iline_size = 7
+ .dline_size = 0x40,
+ .log_dline_size = 6,
+ .iline_size = 0x40,
+ .log_iline_size = 6
};
EXPORT_SYMBOL_GPL(ppc64_caches);