summaryrefslogtreecommitdiff
path: root/common/cmd_mp.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-08-12 18:39:27 (GMT)
committerStefan Roese <sr@denx.de>2008-08-12 18:39:27 (GMT)
commit9939ffd5fbf1f5aff4d8172531d4fc33797c62c8 (patch)
tree40e9295368c82a9c7f2b09e7b1fb76c2c44df0ce /common/cmd_mp.c
parent1c7015100a620582224f25eb057573a0fe147648 (diff)
parentcd82919e6c8a73b363a26f34b734923844e52d1c (diff)
downloadu-boot-9939ffd5fbf1f5aff4d8172531d4fc33797c62c8.tar.xz
Merge branch 'master' of /home/stefan/git/u-boot/u-boot into next
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 b2a397c..c8444fb 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;
}