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/svm.c | |
parent | 48017e5481ce85ba52c4cff082cad5f021c4b413 (diff) |
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/svm.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/svm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/svm.c b/arch/powerpc/platforms/pseries/svm.c index 40c0637203d5..e6d7a344d9f2 100644 --- a/arch/powerpc/platforms/pseries/svm.c +++ b/arch/powerpc/platforms/pseries/svm.c @@ -11,6 +11,7 @@ #include <asm/svm.h> #include <asm/swiotlb.h> #include <asm/ultravisor.h> +#include <asm/dtl.h> static int __init init_svm(void) { |