From 902ca09246039964d59bbcb519b1e1b5aed01308 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Mon, 11 Aug 2008 11:29:28 -0500 Subject: 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 Acked-by: Jon Loeliger --- common/cmd_mp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/cmd_mp.c') diff --git a/common/cmd_mp.c b/common/cmd_mp.c index b2a397cdf..c8444fb84 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; } -- cgit v1.2.3