summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/head_64.S
diff options
context:
space:
mode:
authorOlof Johansson2006-09-06 21:34:41 +0200
committerPaul Mackerras2006-09-13 10:39:52 +0200
commit5a2fe38d2844ba2f2dd8f4946d795e09d8f7e095 (patch)
tree21a995bedd7c7fdca8b2fdb3b7f91f4bfc8228a3 /arch/powerpc/kernel/head_64.S
parent[POWERPC] PPC 4xx: Enable XMON on PPC 4xx boards (diff)
downloadkernel-qcow2-linux-5a2fe38d2844ba2f2dd8f4946d795e09d8f7e095.tar.gz
kernel-qcow2-linux-5a2fe38d2844ba2f2dd8f4946d795e09d8f7e095.tar.xz
kernel-qcow2-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/head_64.S')
-rw-r--r--arch/powerpc/kernel/head_64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S
index e9963d9f335a..3065b472b95d 100644
--- a/arch/powerpc/kernel/head_64.S
+++ b/arch/powerpc/kernel/head_64.S
@@ -1748,7 +1748,7 @@ _STATIC(__after_prom_start)
_GLOBAL(copy_and_flush)
addi r5,r5,-8
addi r6,r6,-8
-4: li r0,16 /* Use the least common */
+4: li r0,8 /* Use the smallest common */
/* denominator cache line */
/* size. This results in */
/* extra cache line flushes */