diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-02-29 00:52:52 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-02-29 00:52:52 +0000 |
commit | 9a2c4d90e71b49787bdea1f618617ae4392ac21f (patch) | |
tree | e60b73ec2d22b0b82a9365fcb58768d3117aa9d8 /patches | |
parent | ca9e554341e6695bc71296def0034b15c595915d (diff) | |
download | ptxdist-9a2c4d90e71b49787bdea1f618617ae4392ac21f.tar.gz ptxdist-9a2c4d90e71b49787bdea1f618617ae4392ac21f.tar.xz |
* ltp: version update and compilation fixes
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7795 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'patches')
-rw-r--r-- | patches/ltp-full-20080131/generic/ltp-full-20080131-fadvise.diff | 65 | ||||
-rw-r--r-- | patches/ltp-full-20080131/generic/series | 2 |
2 files changed, 67 insertions, 0 deletions
diff --git a/patches/ltp-full-20080131/generic/ltp-full-20080131-fadvise.diff b/patches/ltp-full-20080131/generic/ltp-full-20080131-fadvise.diff new file mode 100644 index 000000000..15be8cabd --- /dev/null +++ b/patches/ltp-full-20080131/generic/ltp-full-20080131-fadvise.diff @@ -0,0 +1,65 @@ +--- + testcases/kernel/syscalls/fadvise/posix_fadvise01.c | 3 +++ + testcases/kernel/syscalls/fadvise/posix_fadvise02.c | 3 +++ + testcases/kernel/syscalls/fadvise/posix_fadvise03.c | 4 ++++ + testcases/kernel/syscalls/fadvise/posix_fadvise04.c | 4 ++++ + 4 files changed, 14 insertions(+) + +Index: ltp-full-20080131/testcases/kernel/syscalls/fadvise/posix_fadvise01.c +=================================================================== +--- ltp-full-20080131.orig/testcases/kernel/syscalls/fadvise/posix_fadvise01.c 2008-02-29 01:21:20.000000000 +0100 ++++ ltp-full-20080131/testcases/kernel/syscalls/fadvise/posix_fadvise01.c 2008-02-29 01:22:04.000000000 +0100 +@@ -48,6 +48,9 @@ + #ifndef _FILE_OFFSET_BITS + #define _FILE_OFFSET_BITS 32 + #endif ++#ifndef __NR_fadvise64 ++#define __NR_fadvise64 0 ++#endif + + void setup(); + void cleanup(); +Index: ltp-full-20080131/testcases/kernel/syscalls/fadvise/posix_fadvise02.c +=================================================================== +--- ltp-full-20080131.orig/testcases/kernel/syscalls/fadvise/posix_fadvise02.c 2008-02-29 01:22:52.000000000 +0100 ++++ ltp-full-20080131/testcases/kernel/syscalls/fadvise/posix_fadvise02.c 2008-02-29 01:23:07.000000000 +0100 +@@ -47,6 +47,9 @@ + #ifndef _FILE_OFFSET_BITS + #define _FILE_OFFSET_BITS 32 + #endif ++#ifndef __NR_fadvise64 ++#define __NR_fadvise64 0 ++#endif + + void setup(); + void cleanup(); +Index: ltp-full-20080131/testcases/kernel/syscalls/fadvise/posix_fadvise03.c +=================================================================== +--- ltp-full-20080131.orig/testcases/kernel/syscalls/fadvise/posix_fadvise03.c 2008-02-29 01:23:11.000000000 +0100 ++++ ltp-full-20080131/testcases/kernel/syscalls/fadvise/posix_fadvise03.c 2008-02-29 01:23:19.000000000 +0100 +@@ -49,6 +49,10 @@ + #define _FILE_OFFSET_BITS 32 + #endif + ++#ifndef __NR_fadvise64 ++#define __NR_fadvise64 0 ++#endif ++ + void setup(); + void cleanup(); + +Index: ltp-full-20080131/testcases/kernel/syscalls/fadvise/posix_fadvise04.c +=================================================================== +--- ltp-full-20080131.orig/testcases/kernel/syscalls/fadvise/posix_fadvise04.c 2008-02-29 01:23:22.000000000 +0100 ++++ ltp-full-20080131/testcases/kernel/syscalls/fadvise/posix_fadvise04.c 2008-02-29 01:23:29.000000000 +0100 +@@ -47,6 +47,10 @@ + #define _FILE_OFFSET_BITS 32 + #endif + ++#ifndef __NR_fadvise64 ++#define __NR_fadvise64 0 ++#endif ++ + void setup(); + void cleanup(); + diff --git a/patches/ltp-full-20080131/generic/series b/patches/ltp-full-20080131/generic/series new file mode 100644 index 000000000..b4dc163c6 --- /dev/null +++ b/patches/ltp-full-20080131/generic/series @@ -0,0 +1,2 @@ +ltp-full-20080131-fadvise.diff +ltp-full-20080131-no-IDcheck.diff |