From patchwork Wed Apr 29 21:20:26 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony Liguori X-Patchwork-Id: 20823 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 n3TLLPw6009861 for ; Wed, 29 Apr 2009 21:21:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756612AbZD2VVK (ORCPT ); Wed, 29 Apr 2009 17:21:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756406AbZD2VVI (ORCPT ); Wed, 29 Apr 2009 17:21:08 -0400 Received: from e2.ny.us.ibm.com ([32.97.182.142]:47403 "EHLO e2.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756554AbZD2VVH (ORCPT ); Wed, 29 Apr 2009 17:21:07 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e2.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n3TLHRvk014056 for ; Wed, 29 Apr 2009 17:17:27 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n3TLL64p151570 for ; Wed, 29 Apr 2009 17:21:06 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n3TLL6X9000589 for ; Wed, 29 Apr 2009 17:21:06 -0400 Received: from localhost.localdomain (sig-9-65-58-151.mts.ibm.com [9.65.58.151]) by d01av01.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n3TLKdgK031204; Wed, 29 Apr 2009 17:21:04 -0400 From: Anthony Liguori To: kvm@vger.kernel.org Cc: Anthony Liguori , Avi Kivity Subject: [PATCH 09/21] Remove unnecessary setting of cmos smp_cpu count Date: Wed, 29 Apr 2009 16:20:26 -0500 Message-Id: <1241040038-17183-10-git-send-email-aliguori@us.ibm.com> X-Mailer: git-send-email 1.6.0.6 In-Reply-To: <1241040038-17183-1-git-send-email-aliguori@us.ibm.com> References: <1241040038-17183-1-git-send-email-aliguori@us.ibm.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org This is duplicate code. Signed-off-by: Anthony Liguori --- hw/pc.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 35f9527..db34f53 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -265,7 +265,6 @@ static void cmos_init(ram_addr_t ram_size, ram_addr_t above_4g_mem_size, rtc_set_memory(s, 0x5c, (unsigned int)above_4g_mem_size >> 24); rtc_set_memory(s, 0x5d, (uint64_t)above_4g_mem_size >> 32); } - rtc_set_memory(s, 0x5f, smp_cpus - 1); if (ram_size > (16 * 1024 * 1024)) val = (ram_size / 65536) - ((16 * 1024 * 1024) / 65536);