On Mon, 2009-04-27 at 20:14 +0000, Dave Kleikamp wrote: 
> fallocate tests call syscall() incorrectly for 32-bit powerpc
> 
> Signed-off-by: Dave Kleikamp <[email protected]>

Thanks. Merged.

Regards--
Subrata

> 
> diff -urp ltp-full-20090331/testcases/kernel/syscalls/fallocate/fallocate01.c 
> ltp-full/testcases/kernel/syscalls/fallocate/fallocate01.c
> --- ltp-full-20090331/testcases/kernel/syscalls/fallocate/fallocate01.c       
> 2009-03-23 08:35:40.000000000 -0500
> +++ ltp-full/testcases/kernel/syscalls/fallocate/fallocate01.c        
> 2009-04-24 16:26:01.000000000 -0500
> @@ -292,6 +292,7 @@ static inline long fallocate(int fd, int
>       struct utsname buf;
>       if (uname(&buf) == 0) {
>               if (!strcmp(buf.machine, "ppc64")
> +                 || !strcmp(buf.machine, "ppc")
>                   || !strcmp(buf.machine, "x86_64"))
>                       return syscall(__NR_fallocate, fd, mode,
>                                      (int)(offset >> 32), (int)offset,
> diff -urp ltp-full-20090331/testcases/kernel/syscalls/fallocate/fallocate02.c 
> ltp-full/testcases/kernel/syscalls/fallocate/fallocate02.c
> --- ltp-full-20090331/testcases/kernel/syscalls/fallocate/fallocate02.c       
> 2009-03-23 08:35:40.000000000 -0500
> +++ ltp-full/testcases/kernel/syscalls/fallocate/fallocate02.c        
> 2009-04-24 16:26:17.000000000 -0500
> @@ -258,6 +258,7 @@ static inline long fallocate(int fd, int
>       struct utsname buf;
>       if (uname(&buf) == 0) {
>               if (!strcmp(buf.machine, "ppc64")
> +                 || !strcmp(buf.machine, "ppc")
>                   || !strcmp(buf.machine, "x86_64"))
>                       return syscall(__NR_fallocate, fd, mode,
>                                      (int)(offset >> 32), (int)offset,
> diff -urp ltp-full-20090331/testcases/kernel/syscalls/fallocate/fallocate03.c 
> ltp-full/testcases/kernel/syscalls/fallocate/fallocate03.c
> --- ltp-full-20090331/testcases/kernel/syscalls/fallocate/fallocate03.c       
> 2009-03-23 08:35:40.000000000 -0500
> +++ ltp-full/testcases/kernel/syscalls/fallocate/fallocate03.c        
> 2009-04-24 16:26:21.000000000 -0500
> @@ -245,6 +245,7 @@ static inline long fallocate(int fd, int
>       struct utsname buf;
>       if (uname(&buf) == 0) {
>               if (!strcmp(buf.machine, "ppc64")
> +                 || !strcmp(buf.machine, "ppc")
>                   || !strcmp(buf.machine, "x86_64"))
>                       return syscall(__NR_fallocate, fd, mode,
>                                      (int)(offset >> 32), (int)offset,
> 


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to