]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
[PATCH] mm/slob.c: for_each_possible_cpu(), not NR_CPUS
authorJohn Hawkes <hawkes@sgi.com>
Wed, 19 Apr 2006 05:20:33 +0000 (22:20 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 19 Apr 2006 16:13:49 +0000 (09:13 -0700)
commit75129e297e861e6c61038aa4cdbf604b022de4ff
tree48392ab6ae43547ae2d81a312eb22708af0dc515
parent4a3b98a422a20dedf3a2a40c44892d6e7e665157
[PATCH] mm/slob.c: for_each_possible_cpu(), not NR_CPUS

Convert for-loops that explicitly reference "NR_CPUS" into the
potentially more efficient for_each_possible_cpu() construct.

Signed-off-by: John Hawkes <hawkes@sgi.com>
Cc: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/slob.c