qemu-e2k/bsd-user
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
..
arm target/arm: Move feature test functions to their own header 2023-10-27 11:44:32 +01:00
freebsd bsd-user: Add stubs for vadvise(), sbrk() and sstk() 2023-10-03 17:14:07 -06:00
host
i386
include
netbsd
openbsd
x86_64
bsd-file.h
bsd-mem.c bsd-user: Implement shmid_ds conversion between host and target. 2023-10-03 17:14:07 -06:00
bsd-mem.h bsd-user: Add stubs for vadvise(), sbrk() and sstk() 2023-10-03 17:14:07 -06:00
bsd-proc.c bsd-user: Get number of cpus. 2023-10-03 17:14:06 -06:00
bsd-proc.h accel: Introduce AccelClass::cpu_common_[un]realize 2023-10-05 08:55:34 -04:00
bsdload.c
elfcore.c
elfload.c
errno_defs.h bsd-user: spelling fixes 2023-09-20 07:54:34 +03:00
main.c hw/cpu: Clean up global variable shadowing 2023-11-07 13:08:48 +01:00
meson.build bsd-user: Add bsd-mem.c to meson.build 2023-10-03 17:14:06 -06:00
mmap.c bsd-user: Implement shmat(2) and shmdt(2) 2023-10-03 17:14:07 -06:00
qemu-bsd.h bsd-user: Declarations for ipc_perm and shmid_ds conversion functions 2023-10-03 17:14:06 -06:00
qemu.h bsd-user: Implement shmat(2) and shmdt(2) 2023-10-03 17:14:07 -06:00
signal-common.h bsd-user: Implement host_to_target_siginfo. 2023-10-03 17:14:06 -06:00
signal.c accel: Introduce AccelClass::cpu_common_[un]realize 2023-10-05 08:55:34 -04:00
strace.c
syscall_defs.h bsd-user: Implment madvise(2) to match the linux-user implementation. 2023-10-03 17:14:07 -06:00
trace-events trace-events: Fix the name of the tracing.rst file 2023-09-08 13:08:51 +03:00
trace.h
uaccess.c