mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[SPARC]: Setup cpu_possible_map
Setup cpu_possible_map so the secondary cpus will get started. Signed-off-by: Bob Breuer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
a8cbdcea34
commit
7202fb496a
3 changed files with 31 additions and 9 deletions
|
|
@ -146,6 +146,8 @@ static inline int hard_smp_processor_id(void)
|
|||
#define prof_multiplier(__cpu) cpu_data(__cpu).multiplier
|
||||
#define prof_counter(__cpu) cpu_data(__cpu).counter
|
||||
|
||||
void smp_setup_cpu_possible_map(void);
|
||||
|
||||
#endif /* !(__ASSEMBLY__) */
|
||||
|
||||
/* Sparc specific messages. */
|
||||
|
|
@ -162,7 +164,11 @@ static inline int hard_smp_processor_id(void)
|
|||
#define MBOX_IDLECPU2 0xFD
|
||||
#define MBOX_STOPCPU2 0xFE
|
||||
|
||||
#endif /* SMP */
|
||||
#else /* SMP */
|
||||
|
||||
#define smp_setup_cpu_possible_map() do { } while (0)
|
||||
|
||||
#endif /* !(SMP) */
|
||||
|
||||
#define NO_PROC_ID 0xFF
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue