From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXQwB-0003FS-LN for qemu-devel@nongnu.org; Mon, 16 Mar 2015 05:03:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXQw5-0000Nc-HO for qemu-devel@nongnu.org; Mon, 16 Mar 2015 05:03:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXQw5-0000NV-B8 for qemu-devel@nongnu.org; Mon, 16 Mar 2015 05:03:45 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t2G93ipu005552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 16 Mar 2015 05:03:44 -0400 From: Fam Zheng Date: Mon, 16 Mar 2015 17:03:34 +0800 Message-Id: <1426496617-10702-3-git-send-email-famz@redhat.com> In-Reply-To: <1426496617-10702-1-git-send-email-famz@redhat.com> References: <1426496617-10702-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v4 2/5] linux-user, bsd-user: Remove two calls to cpu_exec_init_all List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini The function is a nop for user mode, so just remove them. Signed-off-by: Fam Zheng --- bsd-user/main.c | 1 - linux-user/main.c | 1 - 2 files changed, 2 deletions(-) diff --git a/bsd-user/main.c b/bsd-user/main.c index 1bb2754..5bfaf5c 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -905,7 +905,6 @@ int main(int argc, char **argv) #endif } tcg_exec_init(0); - cpu_exec_init_all(); /* NOTE: we need to init the CPU at this stage to get qemu_host_page_size */ cpu = cpu_init(cpu_model); diff --git a/linux-user/main.c b/linux-user/main.c index 6bd23af..d8b5b4c 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -3936,7 +3936,6 @@ int main(int argc, char **argv, char **envp) #endif } tcg_exec_init(0); - cpu_exec_init_all(); /* NOTE: we need to init the CPU at this stage to get qemu_host_page_size */ cpu = cpu_init(cpu_model); -- 1.9.3