summaryrefslogtreecommitdiff
path: root/util/cacheinfo.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-09-04 18:19:00 +0100
committerPeter Maydell <peter.maydell@linaro.org>2017-09-07 19:02:30 +0100
commit7872375219c03682bda3f6191fa5f6a58238ed36 (patch)
treedb656346bc7e16cfa094a6ef72a62c55233acb40 /util/cacheinfo.c
parentcda4a338c4243fa3bff4498b935340ac7121cc76 (diff)
downloadqemu-7872375219c03682bda3f6191fa5f6a58238ed36.tar.gz
configure: Drop AIX host support
Nobody has mentioned AIX host support on the mailing list for years, and we have no test systems for it so it is most likely broken. We've advertised in configure for two releases now that we plan to drop support for this host OS, and have had no complaints. Drop the AIX host support code. We can also drop the now-unused AIX version of sys_cache_info(). Note that the _CALL_AIX define used in the PPC tcg backend is also used for Linux PPC64, and so that code should not be removed. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Greg Kurz <groug@kaod.org> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1504545540-8002-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'util/cacheinfo.c')
-rw-r--r--util/cacheinfo.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/util/cacheinfo.c b/util/cacheinfo.c
index 593940f27b..db5172d07c 100644
--- a/util/cacheinfo.c
+++ b/util/cacheinfo.c
@@ -15,16 +15,7 @@ int qemu_dcache_linesize = 0;
* Operating system specific detection mechanisms.
*/
-#if defined(_AIX)
-# include <sys/systemcfg.h>
-
-static void sys_cache_info(int *isize, int *dsize)
-{
- *isize = _system_configuration.icache_line;
- *dsize = _system_configuration.dcache_line;
-}
-
-#elif defined(_WIN32)
+#if defined(_WIN32)
static void sys_cache_info(int *isize, int *dsize)
{