diff options
author | Matias Elo <matias.elo@nokia.com> | 2020-04-28 16:42:02 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2020-05-04 09:47:21 +0300 |
commit | 72fe59d3e5b06df160748ca3676743843d026c22 (patch) | |
tree | 00bb7eea993ad85a1c7b5e613ca873c3580b9e32 /platform/linux-generic/include/odp_config_internal.h | |
parent | c2065338418f808d3e893e6d8a7893a103fe43a9 (diff) |
linux-gen: config: rename CONFIG_NUM_CPU to CONFIG_NUM_CPU_IDS
Rename internal define CONFIG_NUM_CPU to CONFIG_NUM_CPU_IDS to avoid
confusion.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'platform/linux-generic/include/odp_config_internal.h')
-rw-r--r-- | platform/linux-generic/include/odp_config_internal.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/platform/linux-generic/include/odp_config_internal.h b/platform/linux-generic/include/odp_config_internal.h index 8c0285ff0..ac5114a9f 100644 --- a/platform/linux-generic/include/odp_config_internal.h +++ b/platform/linux-generic/include/odp_config_internal.h @@ -1,5 +1,5 @@ /* Copyright (c) 2016-2018, Linaro Limited - * Copyright (c) 2019, Nokia + * Copyright (c) 2019-2020, Nokia * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause @@ -13,9 +13,11 @@ extern "C" { #endif /* - * Maximum number of CPUs supported. Maximum CPU ID is CONFIG_NUM_CPU - 1. + * Maximum number of supported CPU identifiers. The maximum supported CPU ID is + * CONFIG_NUM_CPU_IDS - 1. Note that the maximum number of ODP threads is + * defined by ODP_THREAD_COUNT_MAX. */ -#define CONFIG_NUM_CPU 256 +#define CONFIG_NUM_CPU_IDS 256 /* * Maximum number of pools. Limited by ISHM_MAX_NB_BLOCKS. |