mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-05-17 15:28:31 +00:00
[PATCH] remove for_each_cpu()
Convert a few stragglers over to for_each_possible_cpu(), remove for_each_cpu(). Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
1e48275adc
commit
fb1bb34d45
@@ -1761,7 +1761,7 @@ translate_compat_table(const char *name,
|
||||
goto free_newinfo;
|
||||
|
||||
/* And one copy for every other CPU */
|
||||
for_each_cpu(i)
|
||||
for_each_possible_cpu(i)
|
||||
if (newinfo->entries[i] && newinfo->entries[i] != entry1)
|
||||
memcpy(newinfo->entries[i], entry1, newinfo->size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user