File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ static struct configfs_attribute *sys_t_policy_attrs[] = {
238
238
static inline bool sys_t_need_ts (struct sys_t_output * op )
239
239
{
240
240
if (op -> node .ts_interval &&
241
- time_after (op -> ts_jiffies + op -> node .ts_interval , jiffies )) {
241
+ time_after (jiffies , op -> ts_jiffies + op -> node .ts_interval )) {
242
242
op -> ts_jiffies = jiffies ;
243
243
244
244
return true;
@@ -250,8 +250,8 @@ static inline bool sys_t_need_ts(struct sys_t_output *op)
250
250
static bool sys_t_need_clock_sync (struct sys_t_output * op )
251
251
{
252
252
if (op -> node .clocksync_interval &&
253
- time_after (op -> clocksync_jiffies + op -> node . clocksync_interval ,
254
- jiffies )) {
253
+ time_after (jiffies ,
254
+ op -> clocksync_jiffies + op -> node . clocksync_interval )) {
255
255
op -> clocksync_jiffies = jiffies ;
256
256
257
257
return true;
You can’t perform that action at this time.
0 commit comments