summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/setup.h')
-rw-r--r--arch/powerpc/kernel/setup.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup.h b/arch/powerpc/kernel/setup.h
index cfba134..21c1807 100644
--- a/arch/powerpc/kernel/setup.h
+++ b/arch/powerpc/kernel/setup.h
@@ -45,6 +45,12 @@ void emergency_stack_init(void);
static inline void emergency_stack_init(void) { };
#endif
+#ifdef CONFIG_PPC64
+void record_spr_defaults(void);
+#else
+static inline void record_spr_defaults(void) { };
+#endif
+
/*
* Having this in kvm_ppc.h makes include dependencies too
* tricky to solve for setup-common.c so have it here.
OpenPOWER on IntegriCloud