From 5c734237ac56ed943221030cd027454d2b4d94cb Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Sat, 7 Jun 2025 23:11:19 +0200 Subject: [PATCH] arm: apple: rtkit: add missing header linux/bug.h and linux/bitops.h The GENMASK/GENMASK_ULL macro requires inclusion of linux/bitops.h header. It does currently work as bitfield.h includes it indirectly but this will change when bitfield.h will be synced with new Linux version. Also raw printf require linux/bug.h header (also currently included indirectly by bitfield.h) Explicitly include the headers to fix future compilation error. Signed-off-by: Christian Marangi --- arch/arm/mach-apple/rtkit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-apple/rtkit.c b/arch/arm/mach-apple/rtkit.c index f3561543a35..251c6056cbd 100644 --- a/arch/arm/mach-apple/rtkit.c +++ b/arch/arm/mach-apple/rtkit.c @@ -9,7 +9,9 @@ #include #include +#include #include +#include #include #include #include -- 2.47.2