Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp302628ybl; Sat, 17 Aug 2019 00:50:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqywhrZoAS9HsGas81nbU7QUOeiANw3BQzsUp3f4zr3694hrHKoS+vFScvIiP/HOKZ0TZZTl X-Received: by 2002:a62:7d0d:: with SMTP id y13mr14132704pfc.150.1566028215409; Sat, 17 Aug 2019 00:50:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566028215; cv=none; d=google.com; s=arc-20160816; b=hSjSqIKaRQhUCECvcExleGxPVNAGGdPqGWfUoObVa1QaYTUdL2MGjV89LrRAGh+kQh 1mvQpBCzXvBzdvrOfbW5TfmNKGHobf3TnuROBa6bUECWQKUV4Z6NsBOydrXM63JgBdiT Z6Q2/gKbK7McQuba2ZDs3oUUq9ezmAwZ1ePawDcCt/X11xLySln2m3ueCYerl3XmENdv DD0zFzSJ+pkrfMhVUtps4zGSBZg+l2hn4wsV71QlQnV/I8QBK2zTP1a9yT/LotAgTfP8 /ei3MBP9RBiWkD6OAsXtzXLQgE0Yxfp3YVWPm2hIXdMr07KgDwB2EQlgoKdNEPFSez5V gHTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZolXZ8rsFjWco4y65Dq8e+uQ+IuvsnlR3mkrv/NJUNM=; b=Ce8SZc9AxUGn27EkzAh7hTDCPrCjYWrQJNU2u2EUiSmyCXVZpJ8S8pqDjpC0uDW/t3 2K/8niCrite4nWO93Ukm+7UB8qJBZkvrxBQC91DgUFgbwUCIT/NbFdBwMsG7BP+YdlvA CWC4tsVudZsXPBQ+qxmEKbC2e+KKkkG1iMo730eKt43pkX1RCkqoHAv6StsiO/MXcECG WMvyvx0ZunHb9Sfk8JMd1qAfAz2mBl6Vw9nfac6ByBCvsdNLCweW9gc3ABg0cIsOps3h GdHAGEdV1rw0Jn1sj9S2y7VtJl2Atj8STWBOblTs4FNxs1+e4px2rjmD9JItdryMqaK6 /LXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=AicmUXf2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f26si5929450pfd.193.2019.08.17.00.50.01; Sat, 17 Aug 2019 00:50:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=AicmUXf2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726714AbfHQHtD (ORCPT + 99 others); Sat, 17 Aug 2019 03:49:03 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:37004 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726097AbfHQHtC (ORCPT ); Sat, 17 Aug 2019 03:49:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZolXZ8rsFjWco4y65Dq8e+uQ+IuvsnlR3mkrv/NJUNM=; b=AicmUXf2eapzVk0zNVPGokBsgG FYwHxPxzAL8QeC1bSni7jPrXYJh0A/CHkRADOQhZiOon5jy3SYJxKfVH56jFpFt9oXWiKLdQZGnAc ZzsLXUN0WCNSqSRm55iye5+EYMeFx3+PRUVht/l+pMeu8jNt8ltIrNyH3zinVAtJWokdyVwcwxhdJ e12HOQFMFzZLrgMUEmCVM77TGclG4/Fe+aWXtO+EhVKHlGDk+o8jPy61/1xhUTf34Dux5YAqa1fee suv69UzrZIucK7rYSSPf+uAkjQIEBLvedoBpF/DQ7UW7/WkJgfDBG75WxvZMXy+5yhVBY3Cw2r9e2 +lMbt/eQ==; Received: from [2001:4bb8:18c:28b5:44f9:d544:957f:32cb] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hytSH-00059n-FF; Sat, 17 Aug 2019 07:48:53 +0000 From: Christoph Hellwig To: Arnd Bergmann , Guo Ren , Michal Simek , Greentime Hu , Vincent Chen , Guan Xuetao , x86@kernel.org Cc: linux-alpha@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, nios2-dev@lists.rocketboards.org, openrisc@lists.librecores.org, linux-parisc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-xtensa@linux-xtensa.org, linux-mtd@lists.infradead.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 14/26] asm-generic: don't provide __ioremap Date: Sat, 17 Aug 2019 09:32:41 +0200 Message-Id: <20190817073253.27819-15-hch@lst.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190817073253.27819-1-hch@lst.de> References: <20190817073253.27819-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org __ioremap is not a kernel API, but used for helpers with differing semantics in arch code. We should not provide it in as-generic. Signed-off-by: Christoph Hellwig --- include/asm-generic/io.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h index b83e2802c969..d02806513670 100644 --- a/include/asm-generic/io.h +++ b/include/asm-generic/io.h @@ -963,15 +963,6 @@ static inline void __iomem *ioremap(phys_addr_t offset, size_t size) } #endif -#ifndef __ioremap -#define __ioremap __ioremap -static inline void __iomem *__ioremap(phys_addr_t offset, size_t size, - unsigned long flags) -{ - return ioremap(offset, size); -} -#endif - #ifndef iounmap #define iounmap iounmap -- 2.20.1