diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2015-09-04 15:37:03 -0300 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2015-09-19 16:39:37 +0200 |
commit | 6aadcc71354bc683fdedd8a3d369095d23095e1c (patch) | |
tree | cf5cd58053b0059940e9c76bc100c4ab23aa33a5 /hw/arm/exynos4_boards.c | |
parent | 98cec76a7076c4a38e16f1a9de170a7942b3be54 (diff) | |
download | hqemu-6aadcc71354bc683fdedd8a3d369095d23095e1c.zip hqemu-6aadcc71354bc683fdedd8a3d369095d23095e1c.tar.gz |
exynos4: Use EXYNOS4210_NCPUS instead of max_cpus on error message
The code is checking smp_cpus against EXYNOS4210_NCPUS, not against
max_cpus, so use EXYNOS4210_NCPUS in the error message for consistency.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/arm/exynos4_boards.c')
-rw-r--r-- | hw/arm/exynos4_boards.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/arm/exynos4_boards.c b/hw/arm/exynos4_boards.c index d644db1..3f88c4a 100644 --- a/hw/arm/exynos4_boards.c +++ b/hw/arm/exynos4_boards.c @@ -100,8 +100,7 @@ static Exynos4210State *exynos4_boards_init_common(MachineState *machine, if (smp_cpus != EXYNOS4210_NCPUS && !qtest_enabled()) { fprintf(stderr, "%s board supports only %d CPU cores. Ignoring smp_cpus" " value.\n", - exynos4_machines[board_type].name, - exynos4_machines[board_type].max_cpus); + exynos4_machines[board_type].name, EXYNOS4210_NCPUS); } exynos4_board_binfo.ram_size = exynos4_board_ram_size[board_type]; |