smp.c (5bdfdfeed5eed599a3ddc455f7c254a209ceae8d) | smp.c (d427958a46af24f75d0017c45eadd172273bbf33) |
---|---|
1/* 2 * linux/arch/arm/kernel/smp.c 3 * 4 * Copyright (C) 2002 ARM Limited, All Rights Reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 91 unchanged lines hidden (view full) --- 100 } 101 102 /* 103 * We need to tell the secondary core where to find 104 * its stack and the page tables. 105 */ 106 secondary_data.stack = task_stack_page(idle) + THREAD_START_SP; 107 secondary_data.pgdir = virt_to_phys(pgd); | 1/* 2 * linux/arch/arm/kernel/smp.c 3 * 4 * Copyright (C) 2002 ARM Limited, All Rights Reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 91 unchanged lines hidden (view full) --- 100 } 101 102 /* 103 * We need to tell the secondary core where to find 104 * its stack and the page tables. 105 */ 106 secondary_data.stack = task_stack_page(idle) + THREAD_START_SP; 107 secondary_data.pgdir = virt_to_phys(pgd); |
108 secondary_data.swapper_pg_dir = virt_to_phys(swapper_pg_dir); |
|
108 __cpuc_flush_dcache_area(&secondary_data, sizeof(secondary_data)); 109 outer_clean_range(__pa(&secondary_data), __pa(&secondary_data + 1)); 110 111 /* 112 * Now bring the CPU into our world. 113 */ 114 ret = boot_secondary(cpu, idle); 115 if (ret == 0) { --- 509 unchanged lines hidden --- | 109 __cpuc_flush_dcache_area(&secondary_data, sizeof(secondary_data)); 110 outer_clean_range(__pa(&secondary_data), __pa(&secondary_data + 1)); 111 112 /* 113 * Now bring the CPU into our world. 114 */ 115 ret = boot_secondary(cpu, idle); 116 if (ret == 0) { --- 509 unchanged lines hidden --- |