aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/timer.c')
-rw-r--r--kernel/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index 8f4bf1e6a3ed..1144ff2c2ea3 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -871,7 +871,7 @@ int timekeeping_is_continuous(void)
871 do { 871 do {
872 seq = read_seqbegin(&xtime_lock); 872 seq = read_seqbegin(&xtime_lock);
873 873
874 ret = clock->is_continuous; 874 ret = clock->flags & CLOCK_SOURCE_IS_CONTINUOUS;
875 875
876 } while (read_seqretry(&xtime_lock, seq)); 876 } while (read_seqretry(&xtime_lock, seq));
877 877