From patchwork Wed Oct 2 21:22:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 280182 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 8635B2C00A7 for ; Thu, 3 Oct 2013 07:22:37 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754437Ab3JBVWb (ORCPT ); Wed, 2 Oct 2013 17:22:31 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:45320 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754396Ab3JBVW1 (ORCPT ); Wed, 2 Oct 2013 17:22:27 -0400 Received: by mail-pa0-f43.google.com with SMTP id hz1so1609927pad.2 for ; Wed, 02 Oct 2013 14:22:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZN1JFYxTJ/ZOw1lIMYjd6iwAIhPbDDGeFv48H+SXTiE=; b=DtTii3BmqASLIvZDg9nxrbyGkwdjbWVIK9VP4JEPLBS1logiizU22AiGWDKCv0U5Fx 6dYolhHdm0nnn3libt6pBQ3r2juf47FzuC1/lnUt8Fm1FyHkSz0ZItYLdSVcKKgo3AX9 eLQbq80VRILqb3ejJV5jOLuBXY+N8KYFHcnOXTkTNghj93M3vN2vMC0THIYzzsMV6kYX 2pSGlyFlVK+EhQl3Y9ixw4XAYOte8wBOXsEJjoRGSur3p1IfarQZXRhLbcztd8CmyVWa nb9qVRb4UwznKpJpk7omIFVE0mxr/Mtvy8+aXRF7PvbeEAkCZwyICu7rS5sNJa2t0T8x OBIQ== X-Gm-Message-State: ALoCoQlODuuwL9ws+bAQ3rnB+m4xQORtq7FG7gaTZqxRWV5u50jYO14FJnwoxJQotX6PyoijYyzs X-Received: by 10.67.4.227 with SMTP id ch3mr5566405pad.74.1380748947301; Wed, 02 Oct 2013 14:22:27 -0700 (PDT) Received: from localhost.localdomain (c-67-169-181-221.hsd1.ca.comcast.net. [67.169.181.221]) by mx.google.com with ESMTPSA id fl3sm5678147pad.10.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Oct 2013 14:22:26 -0700 (PDT) From: Christoffer Dall To: kvm@vger.kernel.org Cc: kvmarm@lists.cs.columbia.edu, kvm-ppc@vger.kernel.org, kvm-ia64@vger.kernel.org, Christoffer Dall Subject: [PATCH 6/6] KVM: PPC: Get rid of KVM_HPAGE defines Date: Wed, 2 Oct 2013 14:22:33 -0700 Message-Id: <1380748953-7864-7-git-send-email-christoffer.dall@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1380748953-7864-1-git-send-email-christoffer.dall@linaro.org> References: <1380748953-7864-1-git-send-email-christoffer.dall@linaro.org> Sender: kvm-ppc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm-ppc@vger.kernel.org Now when the main kvm code relying on these defines has been moved to the x86 specific part of the world, we can get rid of these. Signed-off-by: Christoffer Dall --- arch/powerpc/include/asm/kvm_host.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h index 3328353..0866230 100644 --- a/arch/powerpc/include/asm/kvm_host.h +++ b/arch/powerpc/include/asm/kvm_host.h @@ -63,11 +63,6 @@ extern void kvm_set_spte_hva(struct kvm *kvm, unsigned long hva, pte_t pte); #endif -/* We don't currently support large pages. */ -#define KVM_HPAGE_GFN_SHIFT(x) 0 -#define KVM_NR_PAGE_SIZES 1 -#define KVM_PAGES_PER_HPAGE(x) (1UL<<31) - #define HPTEG_CACHE_NUM (1 << 15) #define HPTEG_HASH_BITS_PTE 13 #define HPTEG_HASH_BITS_PTE_LONG 12