lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZqnuP-_AF3mVrN3E@fedora>
Date: Wed, 31 Jul 2024 02:56:47 -0500
From: Juan José Arboleda <soyjuanarbol@...il.com>
To: peterz@...radead.org, vincent.guittot@...aro.org, rostedt@...dmis.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] sched: Replace <asm/processor.h> with <linux/processor.h> in
 sched.h

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@...il.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ