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

(-)build.orig/arch/powerpc/kernel/setup_64.c (+8 lines)
Lines 670-675 void __init setup_per_cpu_areas(void) Link Here
670
		size = PERCPU_ENOUGH_ROOM;
670
		size = PERCPU_ENOUGH_ROOM;
671
#endif
671
#endif
672
672
673
	/*
674
	 * Poison invalid cpus, with lots of high bits set this should
675
	 * always fault
676
	 */
677
	for (i = 0; i < NR_CPUS; i++) {
678
		paca[i].data_offset = 0xeeeeeeeeeeeeeeeeULL;
679
	}
680
673
	for_each_cpu(i) {
681
	for_each_cpu(i) {
674
		ptr = alloc_bootmem_node(NODE_DATA(cpu_to_node(i)), size);
682
		ptr = alloc_bootmem_node(NODE_DATA(cpu_to_node(i)), size);
675
		if (!ptr)
683
		if (!ptr)

Return to bug 145459