diff options
author | Josh Cartwright <joshc@ni.com> | 2015-09-22 07:24:38 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-16 11:28:41 +0000 |
commit | 37bd229626a259d2509a9cdd2d6a2d934121e9ca (patch) | |
tree | 9f43b59063f95954fc052dd695adc8e9192335aa /meta/recipes-rt/rt-tests/files/hackbench-fix-error-check.patch | |
parent | fee4a22c6919814bd541ab2cca9489e5ce3596b4 (diff) | |
download | openembedded-core-37bd229626a259d2509a9cdd2d6a2d934121e9ca.tar.gz openembedded-core-37bd229626a259d2509a9cdd2d6a2d934121e9ca.tar.bz2 openembedded-core-37bd229626a259d2509a9cdd2d6a2d934121e9ca.zip |
rt-tests: bump to v0.94
All of the rt-tests patches that OE has been carrying have been
upstreamed or superceded by changes in the v0.94 release.
Adjust SRC_URI to point to canonical upstream git repo, instead of a
development tree.
There was a notable change upstream that required slight reworking of
the recipe. rt-tests now joins other kbuild-inspired projects by making
use of a CROSS_COMPILE flag to indicate the compiler prefix.
Previously TOOLCHAIN_OPTIONS were conveyed via $CC directly, however,
this does not work with CROSS_COMPILE. Workaround this by both
specifying CROSS_COMPILE, and feeding the rt-tests build system the
proper $(HOST_CC_ARCH)$(TOOLCHAIN_OPTIONS) via $CFLAGS.
Signed-off-by: Josh Cartwright <joshc@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-rt/rt-tests/files/hackbench-fix-error-check.patch')
-rw-r--r-- | meta/recipes-rt/rt-tests/files/hackbench-fix-error-check.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-rt/rt-tests/files/hackbench-fix-error-check.patch b/meta/recipes-rt/rt-tests/files/hackbench-fix-error-check.patch deleted file mode 100644 index d17fdff455..0000000000 --- a/meta/recipes-rt/rt-tests/files/hackbench-fix-error-check.patch +++ /dev/null @@ -1,41 +0,0 @@ -childinfo_t is a union that contains both signed (error) and unsigned -(threadid) members. Thus a large threadid could appear as a negative error -value, which will cause unexpected failures. - -childinfo_t should be changed to a struct, but it could potentially affect the -performance. So we keep it as a union but only check error against -1. There is -still a chance of false alarm but it's small. - -Upstream-Status: Pending - -Signed-off-by: Song.Li <Song.Li@windriver.com> -Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> ---- - src/hackbench/hackbench.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/hackbench/hackbench.c b/src/hackbench/hackbench.c -index 8baeb23..dc0de8f 100644 ---- a/src/hackbench/hackbench.c -+++ b/src/hackbench/hackbench.c -@@ -317,7 +317,7 @@ static unsigned int group(childinfo_t *child, - ctx->wakefd = wakefd; - - child[tab_offset+i] = create_worker(ctx, (void *)(void *)receiver); -- if( child[tab_offset+i].error < 0 ) { -+ if( child[tab_offset+i].error == -1 ) { - return (i > 0 ? i-1 : 0); - } - snd_ctx->out_fds[i] = fds[1]; -@@ -332,7 +332,7 @@ static unsigned int group(childinfo_t *child, - snd_ctx->num_fds = num_fds; - - child[tab_offset+num_fds+i] = create_worker(snd_ctx, (void *)(void *)sender); -- if( child[tab_offset+num_fds+i].error < 0 ) { -+ if( child[tab_offset+num_fds+i].error == -1 ) { - return (num_fds+i)-1; - } - } --- -1.7.9.5 - |