generic-poky/meta/recipes-extended/ltp/ltp
Jackie Huang d31eead2af ltp: fix an incorrect macro checking
The previous patch added a check but incorrectly
change the elif to if, then it always return 0
for cpuid if the machine is not __i386__

getcpu01    1  TFAIL  :  getcpu01.c:140: getcpu() returned wrong value expected cpuid:7, returned value cpuid: 0

After this fix:
getcpu01    1  TPASS  :  getcpu() returned proper cpuid:7, node id:0

(From OE-Core rev: ca798705b3b8fa9b2f6467970e9bda9d9433986c)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19 10:18:43 +01:00
..
0001-add-_GNU_SOURCE-to-pec_listener.c.patch ltp: upgrade to 20170116 2017-03-01 23:27:09 +00:00
0002-Add-knob-to-control-whether-numa-support-should-be-c.patch meta: update patch metadata 2016-07-08 09:57:24 +01:00
0003-Add-knob-to-control-tirpc-support.patch ltp: Upgrade to 20160126 and fix build on musl 2016-02-14 11:42:19 +00:00
0004-build-Add-option-to-select-libc-implementation.patch ltp: Upgrade to 20160126 and fix build on musl 2016-02-14 11:42:19 +00:00
0005-kernel-controllers-Link-with-libfts-explicitly-on-mu.patch ltp: Upgrade to 20160126 and fix build on musl 2016-02-14 11:42:19 +00:00
0006-fix-PATH_MAX-undeclared-when-building-with-musl.patch ltp: upgrade to 20170116 2017-03-01 23:27:09 +00:00
0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch ltp: upgrade to 20170116 2017-03-01 23:27:09 +00:00
0008-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch ltp: fix an incorrect macro checking 2017-04-19 10:18:43 +01:00
0009-fix-redefinition-of-struct-msgbuf-error-building-wit.patch ltp: upgrade to 20170116 2017-03-01 23:27:09 +00:00
0010-replace-__BEGIN_DECLS-and-__END_DECLS.patch ltp: Upgrade to 20160126 and fix build on musl 2016-02-14 11:42:19 +00:00
0011-Rename-sigset-variable-to-sigset1.patch ltp: upgrade to 20170116 2017-03-01 23:27:09 +00:00
0012-fix-faccessat01.c-build-fails-with-security-flags.patch ltp: upgrade to 20170116 2017-03-01 23:27:09 +00:00
0018-guard-mallocopt-with-__GLIBC__.patch ltp: Upgrade to 20160126 and fix build on musl 2016-02-14 11:42:19 +00:00
0020-getdents-define-getdents-getdents64-only-for-glibc.patch ltp: Upgrade to 20160126 and fix build on musl 2016-02-14 11:42:19 +00:00
0021-Define-_GNU_SOURCE-for-MREMAP_MAYMOVE-definition.patch ltp: Upgrade to 20160126 and fix build on musl 2016-02-14 11:42:19 +00:00
0023-ptrace-Use-int-instead-of-enum-__ptrace_request.patch ltp: Upgrade to 20160126 and fix build on musl 2016-02-14 11:42:19 +00:00
0024-rt_sigaction-rt_sigprocmark-Define-_GNU_SOURCE.patch ltp: Upgrade to 20160126 and fix build on musl 2016-02-14 11:42:19 +00:00
0025-mc_gethost-include-sys-types.h.patch ltp: Upgrade to 20160126 and fix build on musl 2016-02-14 11:42:19 +00:00
0026-crash01-Define-_GNU_SOURCE.patch ltp: Upgrade to 20160126 and fix build on musl 2016-02-14 11:42:19 +00:00
0027-sysconf01-Use-_SC_2_C_VERSION-conditionally.patch ltp: upgrade to 20170116 2017-03-01 23:27:09 +00:00
0028-rt_sigaction.h-Use-sighandler_t-instead-of-__sighand.patch ltp: Fix __sighandler_t for mips 2017-03-22 11:35:20 +00:00
0030-lib-Use-PTHREAD_MUTEX_RECURSIVE-in-place-of-PTHREAD_.patch ltp: upgrade to 20170116 2017-03-01 23:27:09 +00:00
0033-shmat1-Cover-GNU-specific-code-under-__USE_GNU.patch ltp: Fix build on x86/musl 2016-03-25 10:29:16 +00:00
0034-periodic_output.patch ltp: add periodic output for memcg stress test 2016-04-03 15:51:34 +01:00
0035-fix-test_proc_kill-hang.patch ltp: upgrade to 20170116 2017-03-01 23:27:09 +00:00
0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch ltp: avoid segmentation fault in netns tests 2016-12-17 09:57:03 +00:00
0039-fcntl-fix-the-time-def-to-use-time_t.patch ltp: upgrade to 20170116 2017-03-01 23:27:09 +00:00