From: Jan Kara Date: Mon, 24 Feb 2014 15:39:55 +0000 (+0100) Subject: smp: Iterate functions through llist_for_each_entry_safe() X-Git-Tag: v3.15-rc1~135^2~17 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fd77595ec62141fa71e575bdbf410e0192f87d0;p=pandora-kernel.git smp: Iterate functions through llist_for_each_entry_safe() The IPI function llist iteration is open coded. Lets simplify this with using an llist iterator. Also we want to keep the iteration safe against possible csd.llist->next value reuse from the IPI handler. At least the block subsystem used to do such things so lets stay careful and use llist_for_each_entry_safe(). Signed-off-by: Jan Kara Cc: Andrew Morton Cc: Christoph Hellwig Cc: Ingo Molnar Cc: Jens Axboe Signed-off-by: Frederic Weisbecker Signed-off-by: Jens Axboe --- Reading git-diff-tree failed