aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/head_32.S
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-18 00:19:41 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-18 00:19:41 -0400
commit77f543cb467c44960bafa6c91f5af75919d693e4 (patch)
treeeebf9705cb750be7db8ced19d58bd6c4db0e573e /arch/powerpc/kernel/head_32.S
parent81e7009ea46c951860b8716ee427ff4f54dd26fc (diff)
powerpc: Fix various compile errors with ARCH=ppc, ppc64 and powerpc
This makes ppc use the syscalls.c from arch/powerpc/kernel, exports copy_and_flush from head_32.S for use by prom_init.c (ARCH=powerpc), and consolidates the sys_fadvise64_64 implementations for 32-bit. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/head_32.S')
-rw-r--r--arch/powerpc/kernel/head_32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/head_32.S b/arch/powerpc/kernel/head_32.S
index 7ef9a3e3002b..cd51fe585fcd 100644
--- a/arch/powerpc/kernel/head_32.S
+++ b/arch/powerpc/kernel/head_32.S
@@ -831,7 +831,7 @@ relocate_kernel:
831 * r3 = dest addr, r4 = source addr, r5 = copy limit, r6 = start offset 831 * r3 = dest addr, r4 = source addr, r5 = copy limit, r6 = start offset
832 * on exit, r3, r4, r5 are unchanged, r6 is updated to be >= r5. 832 * on exit, r3, r4, r5 are unchanged, r6 is updated to be >= r5.
833 */ 833 */
834copy_and_flush: 834_GLOBAL(copy_and_flush)
835 addi r5,r5,-4 835 addi r5,r5,-4
836 addi r6,r6,-4 836 addi r6,r6,-4
8374: li r0,L1_CACHE_BYTES/4 8374: li r0,L1_CACHE_BYTES/4