diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-05-29 22:41:01 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-07-10 12:00:01 +0200 |
commit | d6bdceb6c2276276c0392b926ccd2e5991d5cb9a (patch) | |
tree | af9126eac0824598a218dc6756d675cf4d39a317 /arch/powerpc/platforms/pseries/setup.c | |
parent | 48017e5481ce85ba52c4cff082cad5f021c4b413 (diff) | |
download | linux-d6bdceb6c2276276c0392b926ccd2e5991d5cb9a.tar.gz linux-d6bdceb6c2276276c0392b926ccd2e5991d5cb9a.tar.bz2 linux-d6bdceb6c2276276c0392b926ccd2e5991d5cb9a.zip |
powerpc64: Break asm/percpu.h vs spinlock_types.h dependency
In order to use <asm/percpu.h> in lockdep.h, we need to make sure
asm/percpu.h does not itself depend on lockdep.
The below seems to make that so and builds powerpc64-defconfig +
PROVE_LOCKING.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
https://lkml.kernel.org/r/20200623083721.336906073@infradead.org
Diffstat (limited to 'arch/powerpc/platforms/pseries/setup.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c index 2db8469e475f..27094c872fd6 100644 --- a/arch/powerpc/platforms/pseries/setup.c +++ b/arch/powerpc/platforms/pseries/setup.c @@ -70,6 +70,7 @@ #include <asm/idle.h> #include <asm/swiotlb.h> #include <asm/svm.h> +#include <asm/dtl.h> #include "pseries.h" #include "../../../../drivers/pci/pci.h" |