mirror of https://gitee.com/openkylin/linux.git
4996976fcd
The "Sync framework" test doesn't work if the kernel has no support, obviously. Rather than reporting a failure, check for the kernel support by looking for /sys/kernel/debug/sync/sw_sync, and if not found skip the test. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
sw_sync.h | ||
sync.c | ||
sync.h | ||
sync_alloc.c | ||
sync_fence.c | ||
sync_merge.c | ||
sync_stress_consumer.c | ||
sync_stress_merge.c | ||
sync_stress_parallelism.c | ||
sync_test.c | ||
sync_wait.c | ||
synctest.h |