Skip to content

Commit 92ac971

Browse files
committed
Merge tag 'timers-urgent-2020-06-11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer fix from Thomas Gleixner: "A small fix for the VDSO code to force inline __cvdso_clock_gettime_common() so the compiler can't generate horrible code" * tag 'timers-urgent-2020-06-11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: lib/vdso: Force inlining of __cvdso_clock_gettime_common()
2 parents 623f6dc + b91c8c4 commit 92ac971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vdso/gettimeofday.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ static __always_inline int do_coarse(const struct vdso_data *vd, clockid_t clk,
210210
return 0;
211211
}
212212

213-
static __maybe_unused int
213+
static __always_inline int
214214
__cvdso_clock_gettime_common(const struct vdso_data *vd, clockid_t clock,
215215
struct __kernel_timespec *ts)
216216
{

0 commit comments

Comments
 (0)