/* * Copyright (c) 2022 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #ifndef ZEPHYR_INCLUDE_ARCH_NIOS2_ARCH_INLINES_H #define ZEPHYR_INCLUDE_ARCH_NIOS2_ARCH_INLINES_H #include static ALWAYS_INLINE unsigned int arch_num_cpus(void) { return CONFIG_MP_MAX_NUM_CPUS; } #endif /* ZEPHYR_INCLUDE_ARCH_NIOS2_ARCH_INLINES_H */