cpu_init() was replaced by cpu_create() since 2.12 but comments weren't updated. So update stale comments now.
Signed-off-by: Igor Mammedov <imamm...@redhat.com> --- bsd-user/main.c | 2 +- linux-user/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bsd-user/main.c b/bsd-user/main.c index 283dc6f..a6ef4a7 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -917,7 +917,7 @@ int main(int argc, char **argv) envlist_free(envlist); /* - * Now that page sizes are configured in cpu_init() we can do + * Now that page sizes are configured in cpu_create() we can do * proper page alignment for guest_base. */ guest_base = HOST_PAGE_ALIGN(guest_base); diff --git a/linux-user/main.c b/linux-user/main.c index 3234754..27d0b37 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -693,7 +693,7 @@ int main(int argc, char **argv, char **envp) envlist_free(envlist); /* - * Now that page sizes are configured in cpu_init() we can do + * Now that page sizes are configured in cpu_create() we can do * proper page alignment for guest_base. */ guest_base = HOST_PAGE_ALIGN(guest_base); -- 2.7.4