From: Eric Dumazet The comment 'Really early - can't use for_each_cpu' is probably outdated, because if we access &per_cpu(fdtable_defer_list, cpu), then for_each_cpu() or cpu_possible() should be available (It was available at setup_per_cpu_areas() time) Signed-off-by: Eric Dumazet Signed-off-by: Andrew Morton --- fs/file.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) diff -puN fs/file.c~txt-reduce-size-of-percpudata-and-make-sure-per_cpuobject-fix-2 fs/file.c --- devel/fs/file.c~txt-reduce-size-of-percpudata-and-make-sure-per_cpuobject-fix-2 2006-01-25 11:18:27.000000000 -0800 +++ devel-akpm/fs/file.c 2006-01-25 11:18:27.000000000 -0800 @@ -373,7 +373,6 @@ static void __devinit fdtable_defer_list void __init files_defer_init(void) { int i; - /* Really early - can't use for_each_cpu */ - for (i = 0; i < NR_CPUS; i++) + for_each_cpu(i) fdtable_defer_list_init(i); } _