]> git.sur5r.net Git - u-boot/blobdiff - arch/powerpc/include/asm/mp.h
powerpc/85xx: introduce SET_PCI_LIODN_BASE, for setting PCI LIODNs
[u-boot] / arch / powerpc / include / asm / mp.h
index 3ffa30b9789410fe448dbd39656a87b297166a9c..fe490bac05a7a7d03fd7321659415ed42940309e 100644 (file)
@@ -28,4 +28,10 @@ void cpu_mp_lmb_reserve(struct lmb *lmb);
 u32 determine_mp_bootpg(void);
 int is_core_disabled(int nr);
 
+#ifdef CONFIG_E6500
+#define thread_to_core(x) (x >> 1)
+#else
+#define thread_to_core(x) (x)
+#endif
+
 #endif