Skip to content

Commit

Permalink
thread_info: Remove usage of relaxed calls in sched header
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiLux committed Aug 25, 2015
1 parent 6c21284 commit 6b0e9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -2490,7 +2490,7 @@ static inline int signal_pending_state(long state, struct task_struct *p)

static inline int need_resched(void)
{
return unlikely(test_thread_flag_relaxed(TIF_NEED_RESCHED));
return unlikely(test_thread_flag(TIF_NEED_RESCHED));
}

/*
Expand Down

0 comments on commit 6b0e9d4

Please sign in to comment.