From patchwork Thu Aug 17 16:07:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 136135 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b82d:0:b0:3f2:4152:657d with SMTP id z13csp2022012vqi; Sat, 19 Aug 2023 06:29:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGJOJIATAz2AEsNvlO4JABfRaHqD5fz+ngAdPyABsYts0ejN/MsRyD0ga0UTZ2UiwTFxwJ3 X-Received: by 2002:a05:6a20:8e01:b0:135:4527:efe4 with SMTP id y1-20020a056a208e0100b001354527efe4mr3144412pzj.10.1692451782795; Sat, 19 Aug 2023 06:29:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692451782; cv=none; d=google.com; s=arc-20160816; b=qfYW2yaze+LKYpRBlGqk60/XrOvgjfyP3aSxnI2NoWBGanfu4BKrAoiGgoI32o/NtJ Wjf2YorG1+c6nn9KqqSkLKL7/dtF9BDU51cmUR/da/GZuqRGZbTWq5Z+QrzcMIpmgM0Y klO4k2ne2jtxYz9Wf8WP96NlI0eQZMI4UEuABhThMUwEllZrQUTga56p/i0imfUE5xj/ aybDCB8gid9TnN6sPA6apfyGNSdAXXRCLQ55psyQqtXYZHZjSBhrgThuHqxNWUmDMeHr x+nN7thristwXXFnoGe3wFVtw+V27kVThpc7IILMfxW+BMLG7YnzzP6gOtxqc6TneE6y jDNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=50B9vzFFoqqg7JpkdRpNidURVgWpVREjGETSurh7sjo=; fh=+uSw3dumTnPEdDas4SwUC12YHgLN6Dt6y3wOdiugk9o=; b=Y9QWcrxWjcoSYhOpNf2gZQtaKtIysXdzMqDxsECjhc9JIwYVituecDYcT/EGyyKJig w0evsgvqnmYziL+7VARuvXP2e3lqtN/YncqG64sO9UwcRuqXe6sfyxxLEa786Q2SGONk QEtD/lPBOEu+Vnb9dQsds4NMhUgAW+1JVa2xyE4oY8inXkfVgag1QzOPj9yjY1hjPHJE rGAPHi82cZw8oRo7btz6pTZm0mb0Pt22REA634Yvirgd+rVAihVBvNrcpY/wQcBniKuB VlxVvBY+xGd0T0x1m9DPy/EPaRCFLjqWSjMP/1XHo42f4qkJHUrG4lTz629eYdrmUcas akDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id bu30-20020a63295e000000b00564274c2947si3408242pgb.637.2023.08.19.06.29.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Aug 2023 06:29:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9DCC8A5DD0; Sat, 19 Aug 2023 01:40:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353545AbjHQQIf (ORCPT + 99 others); Thu, 17 Aug 2023 12:08:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353496AbjHQQID (ORCPT ); Thu, 17 Aug 2023 12:08:03 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C38EE358D for ; Thu, 17 Aug 2023 09:07:57 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:d85a:258d:2c59:b44]) by laurent.telenet-ops.be with bizsmtp id ag7i2A0054QHFyo01g7i1F; Thu, 17 Aug 2023 18:07:55 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qWfX4-000uIv-EU; Thu, 17 Aug 2023 18:07:42 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qWfXB-007YEt-Th; Thu, 17 Aug 2023 18:07:41 +0200 From: Geert Uytterhoeven To: Russell King , "James E . J . Bottomley" , Helge Deller , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "David S . Miller" , Arnd Bergmann , Sergey Shtylyov , Damien Le Moal , Christoph Hellwig , Jens Axboe Cc: linux-arm-kernel@lists.infradead.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org, linux-ide@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 5/9] asm-generic: Remove ide_iops.h Date: Thu, 17 Aug 2023 18:07:36 +0200 Message-Id: <54ed1ce4b29346803bd732aac560a74896d1ecfe.1692288018.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774653887138568900 X-GMAIL-MSGID: 1774664320877021437 The last user of ide_iops.h was removed in commit b7fb14d3ac63117e ("ide: remove the legacy ide driver") in v5.14. Signed-off-by: Geert Uytterhoeven --- include/asm-generic/ide_iops.h | 39 ---------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 include/asm-generic/ide_iops.h diff --git a/include/asm-generic/ide_iops.h b/include/asm-generic/ide_iops.h deleted file mode 100644 index 81dfa3ee5e0697b7..0000000000000000 --- a/include/asm-generic/ide_iops.h +++ /dev/null @@ -1,39 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Generic I/O and MEMIO string operations. */ - -#define __ide_insw insw -#define __ide_insl insl -#define __ide_outsw outsw -#define __ide_outsl outsl - -static __inline__ void __ide_mm_insw(void __iomem *port, void *addr, u32 count) -{ - while (count--) { - *(u16 *)addr = readw(port); - addr += 2; - } -} - -static __inline__ void __ide_mm_insl(void __iomem *port, void *addr, u32 count) -{ - while (count--) { - *(u32 *)addr = readl(port); - addr += 4; - } -} - -static __inline__ void __ide_mm_outsw(void __iomem *port, void *addr, u32 count) -{ - while (count--) { - writew(*(u16 *)addr, port); - addr += 2; - } -} - -static __inline__ void __ide_mm_outsl(void __iomem * port, void *addr, u32 count) -{ - while (count--) { - writel(*(u32 *)addr, port); - addr += 4; - } -}