From patchwork Sun Jul 26 16:03:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 11685981 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8D58C1746 for ; Sun, 26 Jul 2020 16:05:57 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 66707206D8 for ; Sun, 26 Jul 2020 16:05:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CNgZHn8Q"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="BK0Lolwr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 66707206D8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=B+P6N4IvY2sIVrLLLoZtb+kphAmnuJN9GDt+lz+zjJM=; b=CNgZHn8QxMz4IV55r3a0lY/2U OWl53jp8XsWF+rigFhxkbQMQc3yVKS6fIvzDc0fDRbdEk75tjYds0XfFCSRKtTZbHn0861T8yRvsd Pa4MpKVmRI9hRDpD+n0Ih23aOKd9fLND1aC9y4U644KYUfbhSNGcoiK9bN7ZpL9Tjbwn8GLT+2rVD TKpjKmNoW6JN6lrPUc9iO4dWTYbOAUrBw/9ZRXlCdkiiKRYjyPK5x0wrjv7dzqbCKJwdqqSBj/Mdo 5sHQ+0vpbUqrI4Wb2B4f19g3nTTrEUbJLSwJsOUK1edYzjUIa7jvUJHQ3dZAoWAAHyYJmhy4qUx+w 7QM+KcfCA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jzj8G-0003tC-Gc; Sun, 26 Jul 2020 16:04:12 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jzj8A-0003rI-AK for linux-arm-kernel@merlin.infradead.org; Sun, 26 Jul 2020 16:04:06 +0000 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 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 X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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