diff options
author | Richard Henderson <rth@twiddle.net> | 2013-06-10 09:05:09 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-11-30 07:45:30 +1300 |
commit | 664d2c4458a268eb176a223c397453a72ed167f4 (patch) | |
tree | c01a338ca7bb53bb9cb2cb25340fd8f9de838797 /linux-user | |
parent | c9baa30f42a87f61627391698f63fa4d1566d9d8 (diff) | |
download | hqemu-664d2c4458a268eb176a223c397453a72ed167f4.zip hqemu-664d2c4458a268eb176a223c397453a72ed167f4.tar.gz |
util: Use qemu_getauxval in linux qemu_cache_utils_init
With this we no longer pass down envp, and thus all systems can have
the same void prototype. So also eliminate a useless thunk.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index 0e45336..50db755 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -3702,7 +3702,7 @@ int main(int argc, char **argv, char **envp) module_call_init(MODULE_INIT_QOM); qemu_init_auxval(envp); - qemu_cache_utils_init(envp); + qemu_cache_utils_init(); if ((envlist = envlist_create()) == NULL) { (void) fprintf(stderr, "Unable to allocate envlist\n"); |