From patchwork Fri Oct 8 10:03:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akinobu Mita X-Patchwork-Id: 241011 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o98A69o6010797 for ; Fri, 8 Oct 2010 10:06:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757001Ab0JHKGB (ORCPT ); Fri, 8 Oct 2010 06:06:01 -0400 Received: from [150.82.175.143] ([150.82.175.143]:35254 "EHLO dhcpa11143.tky.aist.go.jp" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1756987Ab0JHKGA (ORCPT ); Fri, 8 Oct 2010 06:06:00 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 08 Oct 2010 10:06:10 +0000 (UTC) X-Greylist: delayed 325 seconds by postgrey-1.27 at vger.kernel.org; Fri, 08 Oct 2010 06:06:00 EDT Received: from dhcpa11143.tky.aist.go.jp (localhost.localdomain [127.0.0.1]) by dhcpa11143.tky.aist.go.jp (8.13.8/8.13.8) with ESMTP id o98A3R8D029859; Fri, 8 Oct 2010 19:03:27 +0900 Received: (from mita@localhost) by dhcpa11143.tky.aist.go.jp (8.13.8/8.13.8/Submit) id o98A3Q5g029858; Fri, 8 Oct 2010 19:03:26 +0900 From: Akinobu Mita To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Arnd Bergmann , Andrew Morton Cc: Akinobu Mita , Avi Kivity , Marcelo Tosatti , kvm@vger.kernel.org Subject: [PATCH 3/5] kvm: stop including asm-generic/bitops/le.h directly Date: Fri, 8 Oct 2010 19:03:11 +0900 Message-Id: <1286532193-29814-3-git-send-email-akinobu.mita@gmail.com> X-Mailer: git-send-email 1.7.1.231.gd0b16 In-Reply-To: <1286532193-29814-1-git-send-email-akinobu.mita@gmail.com> References: <1286532193-29814-1-git-send-email-akinobu.mita@gmail.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 5186e72..780b71d 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -52,7 +52,6 @@ #include #include #include -#include #include "coalesced_mmio.h" @@ -1208,7 +1207,7 @@ void mark_page_dirty(struct kvm *kvm, gfn_t gfn) if (memslot && memslot->dirty_bitmap) { unsigned long rel_gfn = gfn - memslot->base_gfn; - generic___set_le_bit(rel_gfn, memslot->dirty_bitmap); + ext2_set_bit(rel_gfn, memslot->dirty_bitmap); } }