From patchwork Tue Sep 22 14:51:52 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gleb Natapov X-Patchwork-Id: 49323 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8MEq1kW031878 for ; Tue, 22 Sep 2009 14:52:01 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756611AbZIVOvw (ORCPT ); Tue, 22 Sep 2009 10:51:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756747AbZIVOvv (ORCPT ); Tue, 22 Sep 2009 10:51:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35008 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756467AbZIVOvu (ORCPT ); Tue, 22 Sep 2009 10:51:50 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8MEpsrC006201 for ; Tue, 22 Sep 2009 10:51:54 -0400 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8MEprOO030818; Tue, 22 Sep 2009 10:51:54 -0400 Received: by dhcp-1-237.tlv.redhat.com (Postfix, from userid 13519) id 5A90518D473; Tue, 22 Sep 2009 17:51:52 +0300 (IDT) From: Gleb Natapov To: avi@redhat.com Cc: kvm@vger.kernel.org Subject: [PATCH] Don't call cpu_synchronize_state() in apic_init_reset() Date: Tue, 22 Sep 2009 17:51:52 +0300 Message-Id: <1253631112-26124-3-git-send-email-gleb@redhat.com> In-Reply-To: <1253631112-26124-1-git-send-email-gleb@redhat.com> References: <1253631112-26124-1-git-send-email-gleb@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Each caller of the function already calls it. Signed-off-by: Gleb Natapov --- hw/apic.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/hw/apic.c b/hw/apic.c index 3a2e128..a9d1fb8 100644 --- a/hw/apic.c +++ b/hw/apic.c @@ -488,7 +488,6 @@ void apic_init_reset(CPUState *env) if (!s) return; - cpu_synchronize_state(env); s->tpr = 0; s->spurious_vec = 0xff; s->log_dest = 0;