diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-18 14:19:41 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-18 14:19:41 +1000 |
commit | 77f543cb467c44960bafa6c91f5af75919d693e4 (patch) | |
tree | eebf9705cb750be7db8ced19d58bd6c4db0e573e /arch/powerpc/kernel/sys_ppc32.c | |
parent | 81e7009ea46c951860b8716ee427ff4f54dd26fc (diff) | |
download | op-kernel-dev-77f543cb467c44960bafa6c91f5af75919d693e4.zip op-kernel-dev-77f543cb467c44960bafa6c91f5af75919d693e4.tar.gz |
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/sys_ppc32.c')
-rw-r--r-- | arch/powerpc/kernel/sys_ppc32.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/kernel/sys_ppc32.c b/arch/powerpc/kernel/sys_ppc32.c index 9babe05..2f1e41a 100644 --- a/arch/powerpc/kernel/sys_ppc32.c +++ b/arch/powerpc/kernel/sys_ppc32.c @@ -1069,13 +1069,6 @@ long ppc32_fadvise64(int fd, u32 unused, u32 offset_high, u32 offset_low, advice); } -long ppc32_fadvise64_64(int fd, int advice, u32 offset_high, u32 offset_low, - u32 len_high, u32 len_low) -{ - return sys_fadvise64(fd, (u64)offset_high << 32 | offset_low, - (u64)len_high << 32 | len_low, advice); -} - long ppc32_timer_create(clockid_t clock, struct compat_sigevent __user *ev32, timer_t __user *timer_id) |