aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_mp.c
diff options
context:
space:
mode:
authorKumar Gala2008-08-11 11:29:28 -0500
committerWolfgang Denk2008-08-12 00:09:29 +0200
commit902ca09246039964d59bbcb519b1e1b5aed01308 (patch)
treee1ad54fd61ada7cac84118efa6d52711b8e0b7d4 /common/cmd_mp.c
parent3216ca9692ff80d7c638723ef448f3d36301d9e7 (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/cmd_mp.c')
-rw-r--r--common/cmd_mp.c4
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;
}