mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
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>
This commit is contained in:
parent
c9baa30f42
commit
664d2c4458
4 changed files with 24 additions and 35 deletions
2
vl.c
2
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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue