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/ppc/kernel/head.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/ppc/kernel/head.S')
-rw-r--r-- | arch/ppc/kernel/head.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/kernel/head.S b/arch/ppc/kernel/head.S index 5b43987a943b..c5a890dca9cf 100644 --- a/arch/ppc/kernel/head.S +++ b/arch/ppc/kernel/head.S | |||
@@ -916,7 +916,7 @@ relocate_kernel: | |||
916 | copy_and_flush: | 916 | copy_and_flush: |
917 | addi r5,r5,-4 | 917 | addi r5,r5,-4 |
918 | addi r6,r6,-4 | 918 | addi r6,r6,-4 |
919 | 4: li r0,L1_CACHE_LINE_SIZE/4 | 919 | 4: li r0,L1_CACHE_BYTES/4 |
920 | mtctr r0 | 920 | mtctr r0 |
921 | 3: addi r6,r6,4 /* copy a cache line */ | 921 | 3: addi r6,r6,4 /* copy a cache line */ |
922 | lwzx r0,r6,r4 | 922 | lwzx r0,r6,r4 |