Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1713777ybh; Tue, 14 Jul 2020 05:32:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1AUJ7tRJfZ/fRTapQ3jeKc945bOB81wymPTL8SVZfdMshK4CuwJo+alaKesqmP/uiiiCd X-Received: by 2002:a17:906:5912:: with SMTP id h18mr4473007ejq.259.1594729975609; Tue, 14 Jul 2020 05:32:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594729975; cv=none; d=google.com; s=arc-20160816; b=KULD9mjXGVg1kjU5G+v9MklJdmjgqpdLPkpAskiGCpuSMp1SZDqowJbR2B8FlqT6c8 tAU5y5117Nrcm/uL63uKjWacKP7y8aMGhuBq5TpSFy+ODaBo5U31HsJ7op+l7GeF1zUU USBMS7IMheZwGU6H6JWMP28zWIZSKDxUbkXGvrUfBbMAkmyzWlZ7Ce5onkuWYWf2klXF J7YQA1nLMgNRgA4cmOZ59AdZmKx+T4XkkJShj0bolKHezmRS/U1FTH9MyEYI/FsU6ceN t7TAIqEvGVTFRciNYurVOGsavgKP9yuIH7Pi9qUxwafmIPoPu6R8yMTmgG4St33zb9vg WamQ== 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=BktVmUQwJDMdFvTqNfIGD9S059ZhXdxHkBq9VGVsX10=; b=I4ndIqZLhsw+XxJlBKWOEP8K8iur9mYD5VC1bmXP5yEBezH3QlK3JhPhOOkvNtYhth XvbaFj83/MRZoaU+a5A/XCk5EPZelTK0PauXEWN+PBE6+zv5ZNM9h/Wib4+9IrVuJN1S IRrQBYH3SRpypeGRsJwi5DMdztPBiodAh+bWVMqJBAu4l7Tb9+6Z7AIdjfMJruIG0gdJ H/TWKmz3hagxtGDHNmsCUZcNdC2NI0rWnKNF5Y8z0ciez0zWgdTzWHdF3JtvmtctIAR4 3EDhQgNStXlD3Inep8HrSF0681YXhJxxPowmHy/+9bxcFbwdSxry/qf60Wbvg4sit2M/ OgOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=u37hdr34; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lg17si11097508ejb.440.2020.07.14.05.32.32; Tue, 14 Jul 2020 05:32:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=u37hdr34; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728256AbgGNMcQ (ORCPT + 99 others); Tue, 14 Jul 2020 08:32:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727867AbgGNMcM (ORCPT ); Tue, 14 Jul 2020 08:32:12 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15806C061755; Tue, 14 Jul 2020 05:32:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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; bh=BktVmUQwJDMdFvTqNfIGD9S059ZhXdxHkBq9VGVsX10=; b=u37hdr34IkQBIw3zL4SUnRXans E8qGS6pIRhI3UCJTqpkM8yVZ18+t1k9NdJynJFnBaK0atAzYWLqid3MM75V19MAaUsHRBZky7f3f8 yt2QQoR7EPloIiv6GPX4guCEqMVrg5DFFWRcXVJGl2KIt3nVWrDEPN1c0ZNVLu5qOKeeETqeliXHy NUm+LZrTd28QKwkpL/QT6mp1viRo45rnkceWFQGUjPQvSodnrzI+YcjDWuxfS2BzjN/BTOiRlenUD t4W5uQWxfHw8dV6pM0kbq+93/QCbPRTpsA7kD5XI7obD1cw4Ai40xPM/IxdRyQBXF33KQRvM355UQ grcHI0zA==; Received: from [2001:4bb8:188:5f50:c70:4a89:bc61:2] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvK6R-000269-TF; Tue, 14 Jul 2020 12:32:08 +0000 From: Christoph Hellwig To: Yoshinori Sato , Rich Felker Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/10] sh: don't include in Date: Tue, 14 Jul 2020 14:18:52 +0200 Message-Id: <20200714121856.955680-7-hch@lst.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200714121856.955680-1-hch@lst.de> References: <20200714121856.955680-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.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 No need to expose the details of trapped I/O to drivers. Signed-off-by: Christoph Hellwig --- arch/sh/include/asm/io.h | 1 - arch/sh/kernel/ioport.c | 1 + arch/sh/mm/ioremap.c | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/sh/include/asm/io.h b/arch/sh/include/asm/io.h index da08a61a2f7dae..873f1399fa5962 100644 --- a/arch/sh/include/asm/io.h +++ b/arch/sh/include/asm/io.h @@ -22,7 +22,6 @@ #define __IO_PREFIX generic #include -#include #include #include diff --git a/arch/sh/kernel/ioport.c b/arch/sh/kernel/ioport.c index 34f8cdbbcf0bee..f39446a658bdb8 100644 --- a/arch/sh/kernel/ioport.c +++ b/arch/sh/kernel/ioport.c @@ -7,6 +7,7 @@ */ #include #include +#include unsigned long sh_io_port_base __read_mostly = -1; EXPORT_SYMBOL(sh_io_port_base); diff --git a/arch/sh/mm/ioremap.c b/arch/sh/mm/ioremap.c index 69e55939e48a6f..21342581144dee 100644 --- a/arch/sh/mm/ioremap.c +++ b/arch/sh/mm/ioremap.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include -- 2.26.2