Philippe Mathieu-Daudé 3c55dd5896 hw/cpu: Clean up global variable shadowing
Fix:

  hw/core/machine.c:1302:22: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
      const CPUArchId *cpus = possible_cpus->cpus;
                       ^
  hw/core/numa.c:69:17: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
      uint16List *cpus = NULL;
                  ^
  hw/acpi/aml-build.c:2005:20: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
      CPUArchIdList *cpus = ms->possible_cpus;
                     ^
  hw/core/machine-smp.c:77:14: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
      unsigned cpus    = config->has_cpus ? config->cpus : 0;
               ^
  include/hw/core/cpu.h:589:17: note: previous declaration is here
  extern CPUTailQ cpus;
                  ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Message-Id: <20231010115048.11856-2-philmd@linaro.org>
2023-11-07 13:08:48 +01:00
..
2023-10-23 14:45:29 -07:00
2023-10-19 23:13:28 +02:00
2023-10-18 10:10:49 +02:00
2023-01-08 01:54:22 -05:00
2023-09-06 11:14:55 -04:00
2023-07-11 00:11:25 +02:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00
2023-01-08 01:54:22 -05:00
2019-08-16 13:31:52 +02:00
2023-09-08 13:08:52 +03:00
2020-09-09 09:27:09 -04:00
2023-03-20 12:43:50 +01:00
2019-06-12 13:20:21 +02:00
2020-09-09 09:27:09 -04:00
2022-11-08 11:13:48 +01:00
2020-09-09 09:27:09 -04:00