X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-arm%2Fsmp.h;h=dbb4d859c58664b80e43ca8afee7590bbcf01847;hb=0d9136fdbcdbddcd4eb5ac94c248c039193d4795;hp=f21fd8f6bcdd04fc721bd6f4b0648d5778b77073;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2;p=powerpc.git diff --git a/include/asm-arm/smp.h b/include/asm-arm/smp.h index f21fd8f6bc..dbb4d859c5 100644 --- a/include/asm-arm/smp.h +++ b/include/asm-arm/smp.h @@ -21,10 +21,7 @@ # error " included in non-SMP build" #endif -#define smp_processor_id() (current_thread_info()->cpu) - -extern cpumask_t cpu_present_mask; -#define cpu_possible_map cpu_present_mask +#define raw_smp_processor_id() (current_thread_info()->cpu) /* * at the moment, there's not a big penalty for changing CPUs @@ -55,4 +52,18 @@ extern void smp_cross_call(cpumask_t callmap); */ extern int boot_secondary(unsigned int cpu, struct task_struct *); +/* + * Perform platform specific initialisation of the specified CPU. + */ +extern void platform_secondary_init(unsigned int cpu); + +/* + * Initial data for bringing up a secondary CPU. + */ +struct secondary_data { + unsigned long pgdir; + void *stack; +}; +extern struct secondary_data secondary_data; + #endif /* ifndef __ASM_ARM_SMP_H */