xref: /linux/arch/um/include/linux/smp-internal.h (revision 399ead3a6d76cbdd29a716660db5c84a314dab70)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __UM_SMP_INTERNAL_H
3 #define __UM_SMP_INTERNAL_H
4 
5 #if IS_ENABLED(CONFIG_SMP)
6 
7 void prefill_possible_map(void);
8 
9 #else /* !CONFIG_SMP */
10 
prefill_possible_map(void)11 static inline void prefill_possible_map(void) { }
12 
13 #endif /* CONFIG_SMP */
14 
15 extern char cpu_irqstacks[NR_CPUS][THREAD_SIZE] __aligned(THREAD_SIZE);
16 
17 #endif /* __UM_SMP_INTERNAL_H */
18