From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753454AbbIGPfS (ORCPT ); Mon, 7 Sep 2015 11:35:18 -0400 Received: from smtp.citrix.com ([66.165.176.89]:31779 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752491AbbIGPfL (ORCPT ); Mon, 7 Sep 2015 11:35:11 -0400 X-IronPort-AV: E=Sophos;i="5.17,485,1437436800"; d="scan'208";a="298261790" From: Julien Grall To: CC: , , , , "Julien Grall" , Russell King Subject: [PATCH v4 02/20] arm/xen: Drop pte_mfn and mfn_pte Date: Mon, 7 Sep 2015 16:33:40 +0100 Message-ID: <1441640038-23615-3-git-send-email-julien.grall@citrix.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1441640038-23615-1-git-send-email-julien.grall@citrix.com> References: <1441640038-23615-1-git-send-email-julien.grall@citrix.com> MIME-Version: 1.0 Content-Type: text/plain X-DLP: MIA2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org They are not used in common code expect in one place in balloon.c which is only compiled when Linux is using PV MMU. It's not the case on ARM. Rather than worrying how to handle the 64KB case, drop them. Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini --- Cc: Russell King Changes in v4: - Add Stefano's reviewed Changes in v3: - Patch added --- arch/arm/include/asm/xen/page.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/include/asm/xen/page.h b/arch/arm/include/asm/xen/page.h index 1279563..98c9fc3 100644 --- a/arch/arm/include/asm/xen/page.h +++ b/arch/arm/include/asm/xen/page.h @@ -13,9 +13,6 @@ #define phys_to_machine_mapping_valid(pfn) (1) -#define pte_mfn pte_pfn -#define mfn_pte pfn_pte - /* Xen machine address */ typedef struct xmaddr { phys_addr_t maddr; -- 2.1.4