]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched/core: Use the new llist_for_each_entry_safe() primitive
authorByungchul Park <byungchul.park@lge.com>
Fri, 12 May 2017 00:39:44 +0000 (09:39 +0900)
committerIngo Molnar <mingo@kernel.org>
Tue, 23 May 2017 08:01:33 +0000 (10:01 +0200)
commit73215849dfbf63421c1cafea5a1b6da9bb17831e
tree60298c0fc2e735a7861ea141f057185238243631
parentd714893e61cd8c6e5c7e095f7dd615aa434bca95
sched/core: Use the new llist_for_each_entry_safe() primitive

Now that we've added llist_for_each_entry_safe(), use it to simplify
an open coded version of it in sched_ttwu_pending().

Signed-off-by: Byungchul Park <byungchul.park@lge.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: <kernel-team@lge.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1494549584-11730-1-git-send-email-byungchul.park@lge.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c