[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 13/13] cpus: Remove unused smp_cores/smp_threads declarations
From: |
Michael Tokarev |
Subject: |
[PULL 13/13] cpus: Remove unused smp_cores/smp_threads declarations |
Date: |
Wed, 11 Oct 2023 14:20:54 +0300 |
From: Philippe Mathieu-Daudé <philmd@linaro.org>
Commit a5e0b33119 ("vl.c: Replace smp global variables
with smp machine properties") removed the last uses of
the smp_cores / smp_threads variables but forgot to
remove their declarations. Do it now.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
include/sysemu/cpus.h | 7 -------
1 file changed, 7 deletions(-)
diff --git a/include/sysemu/cpus.h b/include/sysemu/cpus.h
index 0535a4c68a..b4a566cfe7 100644
--- a/include/sysemu/cpus.h
+++ b/include/sysemu/cpus.h
@@ -50,11 +50,4 @@ void cpu_synchronize_all_post_reset(void);
void cpu_synchronize_all_post_init(void);
void cpu_synchronize_all_pre_loadvm(void);
-#ifndef CONFIG_USER_ONLY
-/* vl.c */
-/* *-user doesn't have configurable SMP topology */
-extern int smp_cores;
-extern int smp_threads;
-#endif
-
#endif
--
2.39.2
- [PULL 04/13] MAINTAINERS: Add g364fb and ds1225y to the Jazz section, (continued)
- [PULL 04/13] MAINTAINERS: Add g364fb and ds1225y to the Jazz section, Michael Tokarev, 2023/10/11
- [PULL 05/13] MAINTAINERS: Add unowned RISC-V related files to the right sections, Michael Tokarev, 2023/10/11
- [PULL 06/13] MAINTAINERS: Add include folder to the hw/char/ section, Michael Tokarev, 2023/10/11
- [PULL 03/13] Fix compilation when UFFDIO_REGISTER is not set., Michael Tokarev, 2023/10/11
- [PULL 07/13] MAINTAINERS: Add the CI-related doc files to the CI section, Michael Tokarev, 2023/10/11
- [PULL 09/13] MAINTAINERS: Add section for overall sensors, Michael Tokarev, 2023/10/11
- [PULL 10/13] MAINTAINERS: Add some unowned files to the SBSA-REF section, Michael Tokarev, 2023/10/11
- [PULL 11/13] roms: use PYTHON to invoke python, Michael Tokarev, 2023/10/11
- [PULL 08/13] MAINTAINERS: add standard-headers to Hosts/LINUX, Michael Tokarev, 2023/10/11
- [PULL 12/13] scripts/xml-preprocess: Make sure this script is invoked via the right Python, Michael Tokarev, 2023/10/11
- [PULL 13/13] cpus: Remove unused smp_cores/smp_threads declarations,
Michael Tokarev <=