[PATCH] random: replace asm includes with linux headers

From: HugeUgan

Date: Sun Jul 05 2026 - 12:10:23 EST


Replace architecture-specific asm headers with generic linux
headers where appropriate to improve portability and follow
kernel coding guidelines.
---
drivers/char/random.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/char/random.c b/drivers/char/random.c
index b4da1fb976c1..9f65cbe866ed 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -58,10 +58,10 @@
#include <crypto/blake2s.h>
#include <vdso/datapage.h>
#include <asm/archrandom.h>
-#include <asm/processor.h>
+#include <linux/processor.h>
#include <asm/irq.h>
#include <asm/irq_regs.h>
-#include <asm/io.h>
+#include <linux/io.h>

/*********************************************************************
*
--
2.43.0