Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752621AbbGMVbt (ORCPT ); Mon, 13 Jul 2015 17:31:49 -0400 Received: from mail-ig0-f181.google.com ([209.85.213.181]:38140 "EHLO mail-ig0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751942AbbGMVbs (ORCPT ); Mon, 13 Jul 2015 17:31:48 -0400 From: David Daney To: linux-arm-kernel@lists.infradead.org, Catalin Marinas , Will Deacon Cc: linux-kernel@vger.kernel.org, Robert Richter , David Daney Subject: [PATCH] arm64: Define HAVE_ARCH_PIO_SIZE and related symbols. Date: Mon, 13 Jul 2015 14:31:36 -0700 Message-Id: <1436823096-24059-1-git-send-email-ddaney.cavm@gmail.com> X-Mailer: git-send-email 1.7.11.7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1002 Lines: 33 From: David Daney Needed to make pci_iomap() work. Signed-off-by: David Daney --- arch/arm64/include/asm/io.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h index 540f7c0..8ef78d5 100644 --- a/arch/arm64/include/asm/io.h +++ b/arch/arm64/include/asm/io.h @@ -149,6 +149,11 @@ static inline u64 __raw_readq(const volatile void __iomem *addr) #define IO_SPACE_LIMIT (PCI_IO_SIZE - 1) #define PCI_IOBASE ((void __iomem *)PCI_IO_START) +#define HAVE_ARCH_PIO_SIZE 1 +#define PIO_RESERVED SZ_32M +#define PIO_OFFSET 0 +#define PIO_MASK (PIO_RESERVED - 1) + /* * String version of I/O memory access operations. */ -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/