patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / include / asm-ppc64 / processor.h
index d3e8310..4280809 100644 (file)
 #define        PV_POWER4p      0x0038
 #define PV_GPUL                0x0039
 #define        PV_POWER5       0x003A
+#define PV_POWER5p     0x003B
+#define PV_GPULp       0x003C
 #define        PV_630          0x0040
 #define        PV_630p         0x0041
 
@@ -625,6 +627,17 @@ static inline void prefetchw(const void *x)
 
 #define spin_lock_prefetch(x)  prefetchw(x)
 
+#ifdef CONFIG_SCHED_SMT
+#define ARCH_HAS_SCHED_DOMAIN
+#define ARCH_HAS_SCHED_WAKE_IDLE
+#endif
+
 #endif /* ASSEMBLY */
 
+/*
+ * Number of entries in the SLB. If this ever changes we should handle
+ * it with a use a cpu feature fixup.
+ */
+#define SLB_NUM_ENTRIES 64
+
 #endif /* __ASM_PPC64_PROCESSOR_H */