From: Anthony Iliopoulos <ailiop@suse.com>
To: Russell King <linux@armlinux.org.uk>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH] arm: remove unused profile.h includes
Date: Thu, 20 Aug 2026 15:14:15 +0200 [thread overview]
Message-ID: <20260820131418.14388-1-ailiop@suse.com> (raw)
None of the code in these files uses declarations provided by profile.h.
Remove the unnecessary header includes across the various files to clean
up dependencies and reduce include bloat.
Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
---
arch/arm/kernel/smp.c | 1 -
arch/arm/kernel/time.c | 1 -
arch/arm64/kernel/smp.c | 1 -
arch/arm64/kernel/time.c | 1 -
4 files changed, 4 deletions(-)
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index b5fb4697bc3f..72b4a2900737 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -13,7 +13,6 @@
#include <linux/sched/task_stack.h>
#include <linux/interrupt.h>
#include <linux/cache.h>
-#include <linux/profile.h>
#include <linux/errno.h>
#include <linux/mm.h>
#include <linux/err.h>
diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c
index b3836c94dc74..db406ce71ce0 100644
--- a/arch/arm/kernel/time.c
+++ b/arch/arm/kernel/time.c
@@ -17,7 +17,6 @@
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/of_clk.h>
-#include <linux/profile.h>
#include <linux/sched.h>
#include <linux/sched_clock.h>
#include <linux/smp.h>
diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c
index a61dc3016a11..9f28ab9070df 100644
--- a/arch/arm64/kernel/smp.c
+++ b/arch/arm64/kernel/smp.c
@@ -16,7 +16,6 @@
#include <linux/sched/task_stack.h>
#include <linux/interrupt.h>
#include <linux/cache.h>
-#include <linux/profile.h>
#include <linux/errno.h>
#include <linux/mm.h>
#include <linux/err.h>
diff --git a/arch/arm64/kernel/time.c b/arch/arm64/kernel/time.c
index b5855eb7435d..9911e87d9d14 100644
--- a/arch/arm64/kernel/time.c
+++ b/arch/arm64/kernel/time.c
@@ -17,7 +17,6 @@
#include <linux/smp.h>
#include <linux/timex.h>
#include <linux/errno.h>
-#include <linux/profile.h>
#include <linux/stacktrace.h>
#include <linux/syscore_ops.h>
#include <linux/timer.h>
--
2.55.0
next reply other threads:[~2026-08-20 13:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-20 13:14 Anthony Iliopoulos [this message]
2026-08-20 15:19 ` Will Deacon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260820131418.14388-1-ailiop@suse.com \
--to=ailiop@suse.com \
--cc=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®