diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-16 21:50:32 -0400 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-16 21:50:32 -0400 |
commit | 7dffb72028bfd909ac51a1546d182de2df4d2426 (patch) | |
tree | c465c35642872973543f710f8aa06b955b84f7e5 /arch/powerpc/kernel/head_32.S | |
parent | cf764855620aa1aa5b134687ca18b841ac9be4c7 (diff) |
ppc32: use L1_CACHE_SHIFT/L1_CACHE_BYTES
instead of L1_CACHE_LINE_SIZE and LG_L1_CACHE_LINE_SIZE
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/powerpc/kernel/head_32.S')
-rw-r--r-- | arch/powerpc/kernel/head_32.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/head_32.S b/arch/powerpc/kernel/head_32.S index 108e78ef3878..d9b063f567e0 100644 --- a/arch/powerpc/kernel/head_32.S +++ b/arch/powerpc/kernel/head_32.S | |||
@@ -837,7 +837,7 @@ relocate_kernel: | |||
837 | copy_and_flush: | 837 | copy_and_flush: |
838 | addi r5,r5,-4 | 838 | addi r5,r5,-4 |
839 | addi r6,r6,-4 | 839 | addi r6,r6,-4 |
840 | 4: li r0,L1_CACHE_LINE_SIZE/4 | 840 | 4: li r0,L1_CACHE_BYTES/4 |
841 | mtctr r0 | 841 | mtctr r0 |
842 | 3: addi r6,r6,4 /* copy a cache line */ | 842 | 3: addi r6,r6,4 /* copy a cache line */ |
843 | lwzx r0,r6,r4 | 843 | lwzx r0,r6,r4 |