diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-08-11 11:29:28 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-12 00:09:29 +0200 |
commit | 902ca09246039964d59bbcb519b1e1b5aed01308 (patch) | |
tree | e1ad54fd61ada7cac84118efa6d52711b8e0b7d4 /common | |
parent | 3216ca9692ff80d7c638723ef448f3d36301d9e7 (diff) |
85xx: Rename CONFIG_NR_CPUS to CONFIG_NUM_CPUS
Use CONFIG_NUM_CPUS to match existing define used by 86xx.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/cmd_mp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_mp.c b/common/cmd_mp.c index b2a397cdfbd..c8444fb841c 100644 --- a/common/cmd_mp.c +++ b/common/cmd_mp.c @@ -34,9 +34,9 @@ cpu_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) } cpuid = simple_strtoul(argv[1], NULL, 10); - if (cpuid >= CONFIG_NR_CPUS) { + if (cpuid >= CONFIG_NUM_CPUS) { printf ("Core num: %lu is out of range[0..%d]\n", - cpuid, CONFIG_NR_CPUS - 1); + cpuid, CONFIG_NUM_CPUS - 1); return 1; } |