smp.c (95a0c7c2d6cfde3fb5fdb713428ed0df4d6bdd58) | smp.c (a0995c0805b63c930b99970f2c9d5e4f167ca65b) |
---|---|
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. --- 100 unchanged lines hidden (view full) --- 109 return -ENOSYS; 110 111 /* 112 * We need to tell the secondary core where to find 113 * its stack and the page tables. 114 */ 115 secondary_data.stack = task_stack_page(idle) + THREAD_START_SP; 116#ifdef CONFIG_ARM_MPU | 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. --- 100 unchanged lines hidden (view full) --- 109 return -ENOSYS; 110 111 /* 112 * We need to tell the secondary core where to find 113 * its stack and the page tables. 114 */ 115 secondary_data.stack = task_stack_page(idle) + THREAD_START_SP; 116#ifdef CONFIG_ARM_MPU |
117 secondary_data.mpu_rgn_szr = mpu_rgn_info.rgns[MPU_RAM_REGION].drsr; | 117 secondary_data.mpu_rgn_info = &mpu_rgn_info; |
118#endif 119 120#ifdef CONFIG_MMU 121 secondary_data.pgdir = virt_to_phys(idmap_pgd); 122 secondary_data.swapper_pg_dir = get_arch_pgd(swapper_pg_dir); 123#endif 124 sync_cache_w(&secondary_data); 125 --- 633 unchanged lines hidden --- | 118#endif 119 120#ifdef CONFIG_MMU 121 secondary_data.pgdir = virt_to_phys(idmap_pgd); 122 secondary_data.swapper_pg_dir = get_arch_pgd(swapper_pg_dir); 123#endif 124 sync_cache_w(&secondary_data); 125 --- 633 unchanged lines hidden --- |