summaryrefslogtreecommitdiff
path: root/arch/um/include/linux/smp-internal.h
blob: 1dbcbc23f9c90c30a22219a35e8031da3dd5a3fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __UM_SMP_INTERNAL_H
#define __UM_SMP_INTERNAL_H

#if IS_ENABLED(CONFIG_SMP)

void prefill_possible_map(void);

#else /* !CONFIG_SMP */

static inline void prefill_possible_map(void) { }

#endif /* CONFIG_SMP */

extern char cpu_irqstacks[NR_CPUS][THREAD_SIZE] __aligned(THREAD_SIZE);

#endif /* __UM_SMP_INTERNAL_H */