aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <[email protected]>2019-09-03 17:18:02 +0000
committerThomas Gleixner <[email protected]>2019-09-05 19:19:26 +0000
commitf18ddc13af981ce3c7b7f26925f099e7c6929aba (patch)
treeee642b2934ba01c1e5ee4f367bde2340abdef4b7 /tools/perf/scripts/python/event_analyzing_sample.py
parentMerge tag 'nfs-for-5.3-4' of git://git.linux-nfs.org/projects/trondmy/linux-nfs (diff)
downloadkernel-f18ddc13af981ce3c7b7f26925f099e7c6929aba.tar.gz
kernel-f18ddc13af981ce3c7b7f26925f099e7c6929aba.zip
alarmtimer: Use EOPNOTSUPP instead of ENOTSUPP
ENOTSUPP is not supposed to be returned to userspace. This was found on an OpenPower machine, where the RTC does not support set_alarm. On that system, a clock_nanosleep(CLOCK_REALTIME_ALARM, ...) results in "524 Unknown error 524" Replace it with EOPNOTSUPP which results in the expected "95 Operation not supported" error. Fixes: 1c6b39ad3f01 (alarmtimers: Return -ENOTSUPP if no RTC device is present) Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions