powerpc: Shield code specific to 64-bit server processors
[deliverable/linux.git] / arch / powerpc / include / asm / lppaca.h
index d2a65e8ca6ae08df08c17626dfa4acaf2d6103d9..f78f65c38f054d8d7f56fafee268c33d793a62c4 100644 (file)
 #define _ASM_POWERPC_LPPACA_H
 #ifdef __KERNEL__
 
+/* These definitions relate to hypervisors that only exist when using
+ * a server type processor
+ */
+#ifdef CONFIG_PPC_BOOK3S
+
 //=============================================================================
 //
 //     This control block contains the data that is shared between the
@@ -158,5 +163,6 @@ struct slb_shadow {
 
 extern struct slb_shadow slb_shadow[];
 
+#endif /* CONFIG_PPC_BOOK3S */
 #endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_LPPACA_H */
This page took 0.024728 seconds and 5 git commands to generate.