Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp429274ybg; Sun, 26 Jul 2020 09:04:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKkqF3PWdIomCRxWQ9YwdVpjCzwW1SX0KrDbKzqa+qzIhrqsg8KoTHIJRerGX61f35DpkF X-Received: by 2002:a05:6402:3ca:: with SMTP id t10mr3200845edw.298.1595779487491; Sun, 26 Jul 2020 09:04:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595779487; cv=none; d=google.com; s=arc-20160816; b=gWYqviUx369PI3yKZFKA9zBUDoFVS2zs3GnGHwKSRoWXvf2YphiA2USVyKOSgG5Eug 40IxymrW39Dm7ykTHHdlE12I2xl5cyPKvj7PYp+P403RilXEJ07AYlxBBUMOx2/tJwtg XzmAMou24OyMJ3g1sikp4GQYI1rOzfwD7hxCDvdxgN7DPFJ9iZybncyaZLu2b42CS9Os CHNdIq1HBJu5n34v7H+OsrXnQjTJ04o534xu5opSHPnBXrcEr0kO3Le+ZVOvC9zh6QCD xxq6mNa9gDetjDIzUNgZA7LdUrZiDs0eRG67PmInjQLsZnmG77MpPqFlPZn+BaRvMpnc DFuw== 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=IQmgLN+siDw4xLbsM2TTfog5zbp64pb+O9vGfX9FNWk=; b=cnvmDCOqtrbpO0SQbwzEGzQ9S7PSVbInr0bgz1ufIYRLtHl0Lg7vDP4LBbp048kHy4 3L1VHN/SHcwz0na2/pbJoO2s11iEDq8F5NRN9/pneX7ZJ992x7GJ/ZrtYjYv4xKsSdnm cImTaHwxf0On4eTfZYoUyfWlDJ9nw+vuX3iI18FCnqYazGDBoNXE0G0xeaHORZjqLsxF zEGotEvqneKMPVc0L+joKCJYm0jOMQJO4Z1MUig+zfuq1zwVr3ccXEQFxrvVG9F5uYsn 3ZsEsmULyY0liVJRDeDE0v8WrymY8HfEBnA/tdd06I66ksDqfE+iXib0USXnG5PyOvBG XGSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=BK0Lolwr; 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 m20si690709eds.466.2020.07.26.09.04.25; Sun, 26 Jul 2020 09:04:47 -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=BK0Lolwr; 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 S1727789AbgGZQEL (ORCPT + 99 others); Sun, 26 Jul 2020 12:04:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726998AbgGZQEK (ORCPT ); Sun, 26 Jul 2020 12:04:10 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A447C0619D2; Sun, 26 Jul 2020 09:04:10 -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=IQmgLN+siDw4xLbsM2TTfog5zbp64pb+O9vGfX9FNWk=; b=BK0Lolwr5nIbxuWVDb6/qrVCb5 25vqTL6qobU3dMsborvPYTnXbm35qce3kMPa12DmYZdamPIlr8+AuCicemOxLxH8ywagLsLNwKw/x xzOHwVf2CFnQFOHy4UeUnAzNyrctD5T29XiGJdO+KwJM88lM0KyoDlkw0KKrk2W2IIxXNMEi5MF6P bVy+coo8m2T1Ml45M+pAog0kgFqbIYvHHxJPysOY3c+aP85TWkW9NC+S0FsxhYExVxSd91+IaSBk8 k+MGToUR5VuBl930hhw1a0IJYeeOUPHXIph200S6qZQ0MMefK4lOUnfdIggfmqech4HpgZohOl/8y UXSwqjbg==; Received: from [2001:4bb8:18c:2acc:2375:88ff:9f84:118d] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jzj88-0000Yn-RM; Sun, 26 Jul 2020 16:04:05 +0000 From: Christoph Hellwig To: x86@kernel.org, Jan Kara Cc: linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, linux-arch@vger.kernel.org Subject: [PATCH 1/4] arm64: stop using directly Date: Sun, 26 Jul 2020 18:03:58 +0200 Message-Id: <20200726160401.311569-2-hch@lst.de> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200726160401.311569-1-hch@lst.de> References: <20200726160401.311569-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 Always use so that we can move more declarations to common code. In two of the three cases the asm include was in addition to an existing one for anyway. Signed-off-by: Christoph Hellwig --- arch/arm64/include/asm/stat.h | 2 +- arch/arm64/kernel/process.c | 1 - arch/arm64/kernel/ptrace.c | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm64/include/asm/stat.h b/arch/arm64/include/asm/stat.h index 3b4a62f5aeb0c3..1b5ac1ef5d04cc 100644 --- a/arch/arm64/include/asm/stat.h +++ b/arch/arm64/include/asm/stat.h @@ -10,7 +10,7 @@ #ifdef CONFIG_COMPAT #include -#include +#include /* * struct stat64 is needed for compat tasks only. Its definition is different diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c index 6089638c7d43f4..70381900ef9b8a 100644 --- a/arch/arm64/kernel/process.c +++ b/arch/arm64/kernel/process.c @@ -46,7 +46,6 @@ #include #include -#include #include #include #include diff --git a/arch/arm64/kernel/ptrace.c b/arch/arm64/kernel/ptrace.c index 1e02e98e68dd37..0497aaea782451 100644 --- a/arch/arm64/kernel/ptrace.c +++ b/arch/arm64/kernel/ptrace.c @@ -30,7 +30,6 @@ #include #include -#include #include #include #include -- 2.27.0