diff options
| author | Uros Bizjak <[email protected]> | 2024-09-30 12:33:30 +0000 |
|---|---|---|
| committer | Jason A. Donenfeld <[email protected]> | 2024-10-03 16:21:07 +0000 |
| commit | d18c13697b4dcbf6a8f06c3d8e564c4f5ad1477c (patch) | |
| tree | 9b3e27da9cd52d3361c0c5d21a3e815c3369da15 /drivers/cpufreq/cppc_cpufreq.c | |
| parent | random: Do not include <linux/prandom.h> in <linux/random.h> (diff) | |
| download | kernel-d18c13697b4dcbf6a8f06c3d8e564c4f5ad1477c.tar.gz kernel-d18c13697b4dcbf6a8f06c3d8e564c4f5ad1477c.zip | |
prandom: Include <linux/percpu.h> in <linux/prandom.h>
<linux/percpu.h> include was removed from <linux/prandom.h>
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 <linux/percpu.h>.
However, in [1] we would like to repurpose __percpu tag as a named
address space qualifier, where __percpu macro uses defines from
<linux/percpu.h>.
The circular dependency was removed in ddd8e37ebaa1 ("random: Do not
include <linux/prandom.h> in <linux/random.h>") and it cleared
the path for the inclusion of <linux/percpu.h> in <linux/prandom.h>.
This patch is basically a revert of d9f29deb7fe8
("prandom: Remove unused include").
[1] https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Uros Bizjak <[email protected]>
Cc: Theodore Ts'o <[email protected]>
Cc: Jason A. Donenfeld <[email protected]>
Cc: Kent Overstreet <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'drivers/cpufreq/cppc_cpufreq.c')
0 files changed, 0 insertions, 0 deletions
