View | Details | Raw Unified | Return to bug 145459
Collapse All | Expand All

(-)build.orig/kernel/sched.c (-1 / +1 lines)
Lines 6109-6115 void __init sched_init(void) Link Here
6109
	runqueue_t *rq;
6109
	runqueue_t *rq;
6110
	int i, j, k;
6110
	int i, j, k;
6111
6111
6112
	for (i = 0; i < NR_CPUS; i++) {
6112
	for_each_cpu(i) {
6113
		prio_array_t *array;
6113
		prio_array_t *array;
6114
6114
6115
		rq = cpu_rq(i);
6115
		rq = cpu_rq(i);
(-)build.orig/fs/file.c (-2 / +2 lines)
Lines 379-385 static void __devinit fdtable_defer_list Link Here
379
void __init files_defer_init(void)
379
void __init files_defer_init(void)
380
{
380
{
381
	int i;
381
	int i;
382
	/* Really early - can't use for_each_cpu */
382
383
	for (i = 0; i < NR_CPUS; i++)
383
	for_each_cpu(i)
384
		fdtable_defer_list_init(i);
384
		fdtable_defer_list_init(i);
385
}
385
}
(-)build.orig/net/core/utils.c (-2 / +2 lines)
Lines 121-127 void __init net_random_init(void) Link Here
121
{
121
{
122
	int i;
122
	int i;
123
123
124
	for (i = 0; i < NR_CPUS; i++) {
124
	for_each_cpu(i) {
125
		struct nrnd_state *state = &per_cpu(net_rand_state,i);
125
		struct nrnd_state *state = &per_cpu(net_rand_state,i);
126
		__net_srandom(state, i+jiffies);
126
		__net_srandom(state, i+jiffies);
127
	}
127
	}
Lines 133-139 static int net_random_reseed(void) Link Here
133
	unsigned long seed[NR_CPUS];
133
	unsigned long seed[NR_CPUS];
134
134
135
	get_random_bytes(seed, sizeof(seed));
135
	get_random_bytes(seed, sizeof(seed));
136
	for (i = 0; i < NR_CPUS; i++) {
136
	for_each_cpu(i) {
137
		struct nrnd_state *state = &per_cpu(net_rand_state,i);
137
		struct nrnd_state *state = &per_cpu(net_rand_state,i);
138
		__net_srandom(state, seed[i]);
138
		__net_srandom(state, seed[i]);
139
	}
139
	}
(-)build.orig/net/core/dev.c (-1 / +1 lines)
Lines 3237-3243 static int __init net_dev_init(void) Link Here
3237
	 *	Initialise the packet receive queues.
3237
	 *	Initialise the packet receive queues.
3238
	 */
3238
	 */
3239
3239
3240
	for (i = 0; i < NR_CPUS; i++) {
3240
	for_each_cpu(i) {
3241
		struct softnet_data *queue;
3241
		struct softnet_data *queue;
3242
3242
3243
		queue = &per_cpu(softnet_data, i);
3243
		queue = &per_cpu(softnet_data, i);

Return to bug 145459