From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2884314900A for ; Fri, 26 Apr 2024 15:11:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714144266; cv=none; b=s+P+ZtsPV0zV5a/mts+THdViKlM2iHkSSW7nemidFNXQHbI8wQ4hOeIGucmpIxq4HHzTvGuhSAUQM0S30rCNaw1vIIZ0+yf8IaJeTGyMvfM282iUOcxFuhbTHVcqHrUvTHNlv3GTVmm+/MCHlI5zjpDxgXj0UjuSynDTv1CTne4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714144266; c=relaxed/simple; bh=XzwbygXB1XLTnLy5KTDvuQn0QpU/+Zp/WcuJJpMI2YE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Fa7I3YatNPL7YYu2164/MIzQY5JGvWwFi2459+O729xxn6LXukGmUoVSjohDVKPI8MCCoZEAdbJsS3YwJJnNrvBRCDwjbAGdxE/mbdDKdnd5UTqwyyQKbiXQafF754o3IhWiTdRujNbK2/u9BO5m7gqxXFGbZT5N1EBo8H0VMIw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8DFF51007; Fri, 26 Apr 2024 08:11:32 -0700 (PDT) Received: from e133380.cambridge.arm.com (e133380.arm.com [10.1.197.52]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9EF8A3F73F; Fri, 26 Apr 2024 08:11:01 -0700 (PDT) From: Dave Martin To: x86@kernel.org, linux-kernel@vger.kernel.org Cc: James Morse , Fenghua Yu , Reinette Chatre , Thomas Gleixner , Ingo Molnar , Borislav Petkov , H Peter Anvin , Babu Moger , shameerali.kolothum.thodi@huawei.com, D Scott Phillips OS , carl@os.amperecomputing.com, lcherian@marvell.com, bobo.shaobowang@huawei.com, "Shaopeng Tan (Fujitsu)" , baolin.wang@linux.alibaba.com, Jamie Iles , Xin Hao , Peter Newman , dfustini@baylibre.com, amitsinght@marvell.com, David Hildenbrand , Rex Nie Subject: [PATCH v2 35/35] [SQUASHME] x86/resctrl: Move the resctrl filesystem code to /fs/resctrl Date: Fri, 26 Apr 2024 16:09:04 +0100 Message-Id: <20240426150904.8854-35-Dave.Martin@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240426150904.8854-1-Dave.Martin@arm.com> References: <20240426150537.8094-1-Dave.Martin@arm.com> <20240426150904.8854-1-Dave.Martin@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Relax asm #includes identified by checkpatch.pl as satisfiable by a include in the destination files of this code move. Signed-off-by: Dave Martin --- FYI: James Morse (et al.): * This patch is kept separate for now so that these changes do not get lost when rebuilding the previous code-movement patch. It should be folded into the previous patch or dropped once the series is final. Changes in v2: * New patch. --- fs/resctrl/internal.h | 2 -- fs/resctrl/pseudo_lock.c | 4 ++-- fs/resctrl/rdtgroup.c | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/fs/resctrl/internal.h b/fs/resctrl/internal.h index f73267762a87..0e0c70d62c40 100644 --- a/fs/resctrl/internal.h +++ b/fs/resctrl/internal.h @@ -9,8 +9,6 @@ #include #include -#include - /** * cpumask_any_housekeeping() - Choose any CPU in @mask, preferring those that * aren't marked nohz_full diff --git a/fs/resctrl/pseudo_lock.c b/fs/resctrl/pseudo_lock.c index 077c2abb6edd..2a36a2efbd49 100644 --- a/fs/resctrl/pseudo_lock.c +++ b/fs/resctrl/pseudo_lock.c @@ -11,6 +11,7 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt +#include #include #include #include @@ -19,11 +20,10 @@ #include #include #include +#include #include #include -#include -#include #include #include "internal.h" diff --git a/fs/resctrl/rdtgroup.c b/fs/resctrl/rdtgroup.c index 8b18224eda35..09f120772c48 100644 --- a/fs/resctrl/rdtgroup.c +++ b/fs/resctrl/rdtgroup.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -29,7 +30,6 @@ #include -#include #include "internal.h" /* Mutex to protect rdtgroup access. */ -- 2.34.1