[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250228195913.24895-48-james.morse@arm.com>
Date: Fri, 28 Feb 2025 19:59:11 +0000
From: James Morse <james.morse@....com>
To: x86@...nel.org,
linux-kernel@...r.kernel.org
Cc: Reinette Chatre <reinette.chatre@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
Borislav Petkov <bp@...en8.de>,
H Peter Anvin <hpa@...or.com>,
Babu Moger <Babu.Moger@....com>,
James Morse <james.morse@....com>,
shameerali.kolothum.thodi@...wei.com,
D Scott Phillips OS <scott@...amperecomputing.com>,
carl@...amperecomputing.com,
lcherian@...vell.com,
bobo.shaobowang@...wei.com,
tan.shaopeng@...itsu.com,
baolin.wang@...ux.alibaba.com,
Jamie Iles <quic_jiles@...cinc.com>,
Xin Hao <xhao@...ux.alibaba.com>,
peternewman@...gle.com,
dfustini@...libre.com,
amitsinght@...vell.com,
David Hildenbrand <david@...hat.com>,
Rex Nie <rex.nie@...uarmicro.com>,
Dave Martin <dave.martin@....com>,
Koba Ko <kobak@...dia.com>,
Shanker Donthineni <sdonthineni@...dia.com>,
fenghuay@...dia.com
Subject: [PATCH v7 47/49] fs/resctrl: Remove unnecessary includes
When splitting and moving the resctrl code to live in fs/resctrl and
arch/x86, some code was duplicated. This was done to keep the parser
in the script that does the moving simple. These extra includes are
harmless on x86.
Remove them to allow other architectures to start using fs/resctrl.
Signed-off-by: James Morse <james.morse@....com>
---
Changes since v6:
* This patch is new.
---
fs/resctrl/monitor.c | 2 --
fs/resctrl/pseudo_lock.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/fs/resctrl/monitor.c b/fs/resctrl/monitor.c
index d37324f9f95f..3fe21dcf0fde 100644
--- a/fs/resctrl/monitor.c
+++ b/fs/resctrl/monitor.c
@@ -23,8 +23,6 @@
#include <linux/sizes.h>
#include <linux/slab.h>
-#include <asm/cpu_device_id.h>
-
#include "internal.h"
#define CREATE_TRACE_POINTS
diff --git a/fs/resctrl/pseudo_lock.c b/fs/resctrl/pseudo_lock.c
index d26cc1a2a84a..3bee26b8c07d 100644
--- a/fs/resctrl/pseudo_lock.c
+++ b/fs/resctrl/pseudo_lock.c
@@ -27,7 +27,6 @@
#include <asm/cpu_device_id.h>
#include <asm/perf_event.h>
-#include "../../events/perf_event.h" /* For X86_CONFIG() */
#include "internal.h"
/*
--
2.39.5
Powered by blists - more mailing lists