summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorYiyang Chen <cyyzero16@gmail.com>2026-05-14 19:05:05 +0300
committerPeter Zijlstra <peterz@infradead.org>2026-05-19 13:17:35 +0300
commitea19506013ad13685573e4674fbeddb790e27906 (patch)
treeafae382faa85cfa3201c54ad1d8fe1401c8748f7 /include/linux/errqueue.h
parent95f44886afec7cbce0ff2a5ed8158fbe8aa6f2ec (diff)
downloadlinux-ea19506013ad13685573e4674fbeddb790e27906.tar.xz
sched/clock: Provide !HAVE_UNSTABLE_SCHED_CLOCK stub for sched_clock_stable()
When CONFIG_HAVE_UNSTABLE_SCHED_CLOCK is disabled, sched_clock() is already assumed to provide stable semantics, but the public header doesn't provide a sched_clock_stable() stub for that case. Add a header stub that always returns true and clean up the duplicate local stub in ring_buffer.c, so callers can use sched_clock_stable() unconditionally. Signed-off-by: Yiyang Chen <cyyzero16@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Steven Rostedt <rostedt@goodmis.org> Link: https://patch.msgid.link/56e45338858946cd9581b75c8bd45dd37dba52c5.1778773587.git.cyyzero16@gmail.com
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions