mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06: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
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue