From 572a5b41183df90d70f70ea4bc115befe31b32c2 Mon Sep 17 00:00:00 2001 From: Cheng-Yang Chou Date: Mon, 31 Mar 2025 21:37:24 +0800 Subject: [PATCH] Always include vmalloc.h on all architectures Commit 5309792 ("Only include vmalloc.h on x86") limited the inclusion of to x86 architectures under the assumption that only x86 required it explicitly. However, is not architecture-specific, and other architectures may currently include it indirectly. To ensure consistency and future compatibility, include unconditionally to prevent build failures if indirect includes change in future kernel versions. Co-authored-by: Kuan-Wei Chiu Co-authored-by: Chisheng Chen --- simrupt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/simrupt.c b/simrupt.c index 1269ef0..d377d24 100644 --- a/simrupt.c +++ b/simrupt.c @@ -8,10 +8,8 @@ #include #include #include -#include -#if defined(CONFIG_X86) #include -#endif +#include MODULE_LICENSE("Dual MIT/GPL"); MODULE_AUTHOR("National Cheng Kung University, Taiwan");