Re: [PATCH] Add posix_fadvise and posix_fadvise64 for powerpc

2009-08-31 Thread Mike Frysinger
On Sunday 30 August 2009 03:33:53 Khem Raj wrote: +#if defined __UCLIBC_HAS_LFS__ (!defined __NR_fadvise64_64 || !defined _syscall6) no code should be checking for _syscall6 existence anymore. if an arch doesnt support it, it is broken and that is that. we arent catering to these broken

[PATCH] Add posix_fadvise and posix_fadvise64 for powerpc

2009-08-30 Thread Khem Raj
The syscall is having different number of params and in one case the parameters are passed in differently. This patch add powerpc specific versions of these functions. Signed-off-by: Khem Raj raj.k...@gmail.com --- libc/sysdeps/linux/powerpc/posix_fadvise.c | 36 +

Re: [PATCH] Add posix_fadvise and posix_fadvise64 for powerpc

2009-08-30 Thread Khem Raj
On (30/08/09 00:33), Khem Raj wrote: The syscall is having different number of params and in one case the parameters are passed in differently. This patch add powerpc specific versions of these functions. Actually didnt notice that I sent a wrong patch. Here is the one I should have sent Thx

Re: [PATCH] Add posix_fadvise and posix_fadvise64 for powerpc

2009-08-30 Thread Bernhard Reutner-Fischer
On Sun, Aug 30, 2009 at 01:05:16AM -0700, Khem Raj wrote: On (30/08/09 00:33), Khem Raj wrote: The syscall is having different number of params and in one case the parameters are passed in differently. This patch add powerpc specific versions of these functions. Actually didnt notice that I

Re: [PATCH] Add posix_fadvise and posix_fadvise64 for powerpc

2009-08-30 Thread Khem Raj
On Sun, Aug 30, 2009 at 6:00 AM, Bernhard Reutner-Fischerrep.dot@gmail.com wrote: On Sun, Aug 30, 2009 at 01:05:16AM -0700, Khem Raj wrote: On (30/08/09 00:33), Khem Raj wrote: The syscall is having different number of params and in one case the parameters are passed in differently. This