Messages in this thread | | | Subject | Re: [PATCH] trivial - convert "for(foo=0;foo<NR_CPUS;foo++)" to "for_each_possible_cpu(foo)" | From | Joe Perches <> | Date | Mon, 27 Aug 2007 17:31:05 -0700 |
| |
On Mon, 2007-08-27 at 17:12 -0700, Andrew Morton wrote: > Right now, pretty much every instance of NR_CPUS in the tree is a flag > which says "old, krufty, fixme".
I thought of that when I changed them.
Perhaps the new for_each_possible_cpu code can now be more easily inspected/transformed by the appropriate parties to for_each_(online|present)_cpu.
cheers, Joe
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |