From: Christian Marangi Date: Sat, 7 Jun 2025 21:11:19 +0000 (+0200) Subject: arm: apple: rtkit: add missing header linux/bug.h and linux/bitops.h X-Git-Tag: v2025.10-rc1~118^2~16^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c734237ac56ed943221030cd027454d2b4d94cb;p=pandora-u-boot.git 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 --- 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