diff --git a/[refs] b/[refs] index 07f8a7857e4b..54b42bfc8924 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 766ccb9ed406c230d13c145def08ebea1b932982 +refs/heads/master: f7de7621f07495ad14fb23a812003bcf8f6af65a diff --git a/trunk/kernel/async.c b/trunk/kernel/async.c index e23399d88bac..f565891f2c9b 100644 --- a/trunk/kernel/async.c +++ b/trunk/kernel/async.c @@ -133,8 +133,7 @@ static void run_one_entry(void) entry = list_first_entry(&async_pending, struct async_entry, list); /* 2) move it to the running queue */ - list_del(&entry->list); - list_add_tail(&entry->list, entry->running); + list_move_tail(&entry->list, entry->running); spin_unlock_irqrestore(&async_lock, flags); /* 3) run it (and print duration)*/