summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/futex/functional
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2015-05-14 00:13:05 +0200
committerShuah Khan <shuahkh@osg.samsung.com>2015-05-26 23:58:07 +0200
commit61171d0407b537eff299aea2388773b6c760e6eb (patch)
tree017ada2c9badb0e5026c49c5098cb1419a341804 /tools/testing/selftests/futex/functional
parentkselftests: timers: Ease alarmtimer-suspend unreasonable latency value (diff)
downloadlinux-61171d0407b537eff299aea2388773b6c760e6eb.tar.xz
linux-61171d0407b537eff299aea2388773b6c760e6eb.zip
kselftests: timers: Check _ALARM clockids are supported before suspending
It was reported that the alarmtimer-suspend test hangs on older systems that don't support _ALARM clockids. This is due to the fact that we don't check if the timer_create fails, and thus when we suspend, the system will not programatically resume. Fix this by checking the timer_create call for errors. Cc: Shuah Khan <shuahkh@osg.samsung.com> Cc: Prarit Bhargava <prarit@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Richard Cochran <richardcochran@gmail.com> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/futex/functional')
0 files changed, 0 insertions, 0 deletions