aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorNathan Lynch <[email protected]>2015-02-24 17:21:07 -0600
committerCatalin Marinas <[email protected]>2015-02-26 18:13:51 +0000
commite1b6b6ce55a0a25c8aa8af019095253b2133a41a (patch)
tree6262629f56ef359531228b0360cea1b841fca681 /lib/memory-notifier-error-inject.c
parentf3e39273e0a9a5c9dc78cd667ec3663e97e0e989 (diff)
arm64: vdso: minor ABI fix for clock_getres
The vdso implementation of clock_getres currently returns 0 (success) whenever a null timespec is provided by the caller, regardless of the clock id supplied. This behavior is incorrect. It should fall back to syscall when an unrecognized clock id is passed, even when the timespec argument is null. This ensures that clock_getres always returns an error for invalid clock ids. Signed-off-by: Nathan Lynch <[email protected]> Acked-by: Will Deacon <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions