From patchwork Sat May 15 08:12:43 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Asias He X-Patchwork-Id: 99800 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4F8DsMi016624 for ; Sat, 15 May 2010 08:13:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752300Ab0EOINw (ORCPT ); Sat, 15 May 2010 04:13:52 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:42040 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751537Ab0EOINu (ORCPT ); Sat, 15 May 2010 04:13:50 -0400 Received: by mail-pw0-f46.google.com with SMTP id 10so1018920pwi.19 for ; Sat, 15 May 2010 01:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=R0U+/Iqn0dK2bnf7+1+0yrs4eWek92FQGHPN7bk+k8g=; b=Dx5z0LFRlxCkoq1QsFwTxmSWNcDxemv+RzVNt7XKmhB13Bj+6np64GGgqnUYRTofnS Fm7OPkK3PnDxdaQGjI24PHj6pBEZK983VQrG6jPXMQn4u39eikeeKRJXnVzjdDFXBLd6 lhl7nmjEA8+AYnSpeXpsr7lMGySeBXIZeunSU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=YRjQtgB2QJPAinNwvX1iiP+qxk5qdURVBjuf/qkLdh2uZWZ3ZRJHttSePF4FQl0JM+ lGsINHLD1CspIB7KJzEUEHxB0mRqT6CyjH2fV5n3aMh8WEP13xC+yyZl5vVR1an8NltA p3nCbRcDJ9PPBEKFVET+B//GOAG6W4693+pBY= Received: by 10.115.85.21 with SMTP id n21mr2019007wal.111.1273911229828; Sat, 15 May 2010 01:13:49 -0700 (PDT) Received: from localhost.localdomain ([219.224.169.130]) by mx.google.com with ESMTPS id b6sm27527323wam.9.2010.05.15.01.13.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 15 May 2010 01:13:49 -0700 (PDT) From: Asias He To: kvm@vger.kernel.org, Naphtali Sprei Cc: Asias He Subject: [qemu-kvm tests PATCH] qemu-kvm tests cleanup Date: Sat, 15 May 2010 16:12:43 +0800 Message-Id: <1273911163-5174-2-git-send-email-asias.hejun@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1273911163-5174-1-git-send-email-asias.hejun@gmail.com> References: <1273911163-5174-1-git-send-email-asias.hejun@gmail.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 15 May 2010 08:13:55 +0000 (UTC) diff --git a/kvm/user/test/x86/msr.c b/kvm/user/test/x86/msr.c index 662cb4f..1e7987d 100644 --- a/kvm/user/test/x86/msr.c +++ b/kvm/user/test/x86/msr.c @@ -79,7 +79,6 @@ static int find_msr_info(int msr_index) int nr_passed, nr_tests; -#ifdef __x86_64__ static void report(const char *name, int passed) { ++nr_tests; @@ -103,10 +102,6 @@ static unsigned long long rdmsr(unsigned index) return ((unsigned long long)d << 32) | a; } -#endif - - - static void test_msr_rw(int msr_index, unsigned long long input, unsigned long long expected) { unsigned long long r = 0;