summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-06-10 09:05:09 -0700
committerRichard Henderson <rth@twiddle.net>2013-11-30 07:45:30 +1300
commit664d2c4458a268eb176a223c397453a72ed167f4 (patch)
treec01a338ca7bb53bb9cb2cb25340fd8f9de838797 /vl.c
parentc9baa30f42a87f61627391698f63fa4d1566d9d8 (diff)
downloadqemu-664d2c4458a268eb176a223c397453a72ed167f4.tar.gz
qemu-664d2c4458a268eb176a223c397453a72ed167f4.tar.bz2
qemu-664d2c4458a268eb176a223c397453a72ed167f4.zip
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 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 0c9c359230..e2c94bf75d 100644
--- a/vl.c
+++ b/vl.c
@@ -2895,7 +2895,7 @@ int main(int argc, char **argv, char **envp)
rtc_clock = QEMU_CLOCK_HOST;
qemu_init_auxval(envp);
- qemu_cache_utils_init(envp);
+ qemu_cache_utils_init();
QLIST_INIT (&vm_change_state_head);
os_setup_early_signal_handling();