powerpc: Fix various compile errors with ARCH=ppc, ppc64 and powerpc
authorPaul Mackerras <paulus@samba.org>
Tue, 18 Oct 2005 04:19:41 +0000 (14:19 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 18 Oct 2005 04:19:41 +0000 (14:19 +1000)
commit77f543cb467c44960bafa6c91f5af75919d693e4
treeeebf9705cb750be7db8ced19d58bd6c4db0e573e
parent81e7009ea46c951860b8716ee427ff4f54dd26fc
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>
arch/powerpc/Makefile
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/head_32.S
arch/powerpc/kernel/sys_ppc32.c
arch/powerpc/kernel/syscalls.c
arch/powerpc/kernel/systbl.S
arch/ppc/kernel/Makefile
arch/ppc64/kernel/misc.S