public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sched: Replace <asm/processor.h> with <linux/processor.h> in sched.h
@ 2024-07-31  7:56 Juan José Arboleda
  2024-07-31  9:17 ` Mukesh Kumar Chaurasiya
  0 siblings, 1 reply; 3+ messages in thread
From: Juan José Arboleda @ 2024-07-31  7:56 UTC (permalink / raw)
  To: peterz, vincent.guittot, rostedt; +Cc: linux-kernel

The sched.h header file currently includes the architecture-specific
<asm/processor.h> header. This commit replaces it with the more general
<linux/processor.h> header to ensure broader compatibility and to
streamline the code.

This change helps in reducing architecture-specific dependencies in
scheduler code, making it more portable and easier to maintain.

Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
---
 include/linux/sched.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index f8d150343d42..0f48c96210a4 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -10,7 +10,7 @@
 #include <uapi/linux/sched.h>
 
 #include <asm/current.h>
-#include <asm/processor.h>
+#include <linux/processor.h>
 #include <linux/thread_info.h>
 #include <linux/preempt.h>
 #include <linux/cpumask_types.h>
-- 
2.45.2


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

* Re: [PATCH] sched: Replace <asm/processor.h> with <linux/processor.h> in sched.h
  2024-07-31  7:56 Juan José Arboleda
@ 2024-07-31  9:17 ` Mukesh Kumar Chaurasiya
  0 siblings, 0 replies; 3+ messages in thread
From: Mukesh Kumar Chaurasiya @ 2024-07-31  9:17 UTC (permalink / raw)
  To: Juan José Arboleda; +Cc: peterz, vincent.guittot, rostedt, linux-kernel

On Wed, Jul 31, 2024 at 02:56:47AM GMT, Juan José Arboleda wrote:
> The sched.h header file currently includes the architecture-specific
> <asm/processor.h> header. This commit replaces it with the more general
> <linux/processor.h> header to ensure broader compatibility and to
> streamline the code.
> 
> This change helps in reducing architecture-specific dependencies in
> scheduler code, making it more portable and easier to maintain.
> 
> Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>

Build and bootup Tested on ppc64le and x86.

Tested-by: Mukesh Kumar Chaurasiya <mchauras@linux.ibm.com>
Reviewed-by: Mukesh Kumar Chaurasiya <mchauras@linux.ibm.com>

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

* Re: [PATCH] sched: Replace <asm/processor.h> with <linux/processor.h> in sched.h
@ 2024-08-05 22:52 Juan José Arboleda
  0 siblings, 0 replies; 3+ messages in thread
From: Juan José Arboleda @ 2024-08-05 22:52 UTC (permalink / raw)
  To: Mukesh Kumar Chaurasiya; +Cc: peterz, vincent.guittot, rostedt, linux-kernel

rostedt@goodmis.org, linux-kernel@vger.kernel.org
Bcc: 
Subject: Re: [PATCH] sched: Replace <asm/processor.h> with
 <linux/processor.h> in sched.h
Reply-To: 
In-Reply-To: <n2ws7azgzp6mrrj4cl54xu36yjri5lbm4xo7edewjecti3623g@ra2dgaitoicb>

> Build and bootup Tested on ppc64le and x86.

Thanks for reviewing and testing! I really appreciate it.

Is there anything else missing from my side?

Regards,
-Juan José


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

end of thread, other threads:[~2024-08-05 22:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-05 22:52 [PATCH] sched: Replace <asm/processor.h> with <linux/processor.h> in sched.h Juan José Arboleda
  -- strict thread matches above, loose matches on Subject: below --
2024-07-31  7:56 Juan José Arboleda
2024-07-31  9:17 ` Mukesh Kumar Chaurasiya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox