mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm: remove unused profile.h includes
@ 2026-08-20 13:14 Anthony Iliopoulos
  2026-08-20 15:19 ` Will Deacon
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Iliopoulos @ 2026-08-20 13:14 UTC (permalink / raw)
  To: Russell King, Catalin Marinas, Will Deacon; +Cc: linux-arm-kernel, linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-20 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-20 13:14 [PATCH] arm: remove unused profile.h includes Anthony Iliopoulos
2026-08-20 15:19 ` Will Deacon

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®