aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/paca.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2020-05-29 22:41:01 +0200
committerPeter Zijlstra <peterz@infradead.org>2020-07-10 12:00:01 +0200
commitd6bdceb6c2276276c0392b926ccd2e5991d5cb9a (patch)
treeaf9126eac0824598a218dc6756d675cf4d39a317 /arch/powerpc/include/asm/paca.h
parentsparc64: Fix asm/percpu.h build error (diff)
downloadlinux-dev-d6bdceb6c2276276c0392b926ccd2e5991d5cb9a.tar.xz
linux-dev-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/include/asm/paca.h')
-rw-r--r--arch/powerpc/include/asm/paca.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/paca.h b/arch/powerpc/include/asm/paca.h
index 45a839a7c6cf..84b2564cf5a4 100644
--- a/arch/powerpc/include/asm/paca.h
+++ b/arch/powerpc/include/asm/paca.h
@@ -29,7 +29,6 @@
#include <asm/hmi.h>
#include <asm/cpuidle.h>
#include <asm/atomic.h>
-#include <asm/rtas-types.h>
#include <asm-generic/mmiowb_types.h>
@@ -53,6 +52,7 @@ extern unsigned int debug_smp_processor_id(void); /* from linux/smp.h */
#define get_slb_shadow() (get_paca()->slb_shadow_ptr)
struct task_struct;
+struct rtas_args;
/*
* Defines the layout of the paca.