From: Uros Bizjak Date: Mon, 30 Sep 2024 12:33:30 +0000 (+0200) Subject: prandom: Include in X-Git-Tag: v6.13-rc1~195^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d18c13697b4dcbf6a8f06c3d8e564c4f5ad1477c;p=thirdparty%2Fkernel%2Flinux.git prandom: Include in include was removed from in d9f29deb7fe8 ("prandom: Remove unused include") because this inclusion broke arm64 due to a circular dependency on include files. __percpu tag is defined in include/linux/compiler_types.h, so there is currently no direct need for the inclusion of . However, in [1] we would like to repurpose __percpu tag as a named address space qualifier, where __percpu macro uses defines from . The circular dependency was removed in ddd8e37ebaa1 ("random: Do not include in ") and it cleared the path for the inclusion of in . This patch is basically a revert of d9f29deb7fe8 ("prandom: Remove unused include"). [1] https://lore.kernel.org/lkml/20240812115945.484051-4-ubizjak@gmail.com/ Signed-off-by: Uros Bizjak Cc: Theodore Ts'o Cc: Jason A. Donenfeld Cc: Kent Overstreet Signed-off-by: Jason A. Donenfeld --- diff --git a/include/linux/prandom.h b/include/linux/prandom.h index f7f1e5251c679..f2ed5b72b3d6f 100644 --- a/include/linux/prandom.h +++ b/include/linux/prandom.h @@ -10,6 +10,7 @@ #include #include +#include #include struct rnd_state {