[PATCH PMQA] cpuidle: increase wait time for child to finish
- fix for bug 152 on Panda, wait for more time for child to finish - don't wait for child pid for offlined cpus - bug 152 Signed-off-by: Sanjay Singh Rawat --- cpuidle/cpuidle_killer.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cpuidle/cpuidle_killer.c b/cpuidle/cpuidle_killer.c index ae3b54f..49fe1ea 100644 --- a/cpuidle/cpuidle_killer.c +++ b/cpuidle/cpuidle_killer.c @@ -181,11 +181,17 @@ int main(int argc, char *argv[]) signal(SIGALRM, timeout); - alarm(DURATION + 5); + alarm(DURATION + 20); for (i = 0; i < nrcpus; i++) { int status; + /* skip for offline cpus */ + if (!pids[i]) { + fprintf(stderr, "no_wait_for_process on cpu %d\n", i); + continue; + } + waitpid(pids[i], &status, 0); if (status != 0) { fprintf(stderr, "test for cpu %d has failed\n", i); -- 1.8.3.2 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
[meta-linaro-toolchain][PATCH] external-linaro-toolchain: add more rprovides
From: Zongchun Yu This avoids eglibc being rebuilt when trying to include packages like eglibc-utils. Signed-off-by: Zongchun Yu --- .../external-linaro-toolchain/external-linaro-toolchain.bb| 8 1 file changed, 8 insertions(+) diff --git a/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb b/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb index bb4cfae..8ac929c 100644 --- a/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb +++ b/meta-linaro-toolchain/recipes-devtools/external-linaro-toolchain/external-linaro-toolchain.bb @@ -145,8 +145,11 @@ PACKAGES =+ "\ libitm \ libitm-dev \ libitm-staticdev \ + eglibc-utils \ " +ALLOW_EMPTY_eglibc-utils = "1" + INSANE_SKIP_${PN}-dbg = "staticdev" INSANE_SKIP_${PN}-utils += "ldflags" INSANE_SKIP_libstdc++ += "ldflags" @@ -166,7 +169,12 @@ PKG_${PN}-thread-db = "eglibc-thread-db" PKG_${PN}-pcprofile = "eglibc-pcprofile" PKG_${PN}-staticdev = "eglibc-staticdev" +RPROVIDES_${PN} += "${TCLIBC}" RPROVIDES_${PN}-mtrace += "${TCLIBC}-mtrace" +RPROVIDES_${PN}-staticdev += "${TCLIBC}-staticdev" +RPROVIDES_${PN}-dev += "${TCLIBC}-dev" +RPROVIDES_${PN}-dbg += "${TCLIBC}-dbg" +RPROVIDES_${PN}-utils += "${TCLIBC}-utils" PKGV_${PN} = "${ELT_VER_LIBC}" PKGV_${PN}-dev = "${ELT_VER_LIBC}" -- 1.8.3.2 ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev