All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Juan José Arboleda" <soyjuanarbol@gmail.com>
To: peterz@infradead.org, vincent.guittot@linaro.org, rostedt@goodmis.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] sched: Replace <asm/processor.h> with <linux/processor.h> in sched.h
Date: Wed, 31 Jul 2024 02:56:47 -0500	[thread overview]
Message-ID: <ZqnuP-_AF3mVrN3E@fedora> (raw)

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


             reply	other threads:[~2024-07-31  7:56 UTC|newest]

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

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=ZqnuP-_AF3mVrN3E@fedora \
    --to=soyjuanarbol@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=vincent.guittot@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.