]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/smp.h
Merge branch 'master' of /home/cbou/linux-2.6
[linux-2.6] / include / asm-powerpc / smp.h
index c663a1fa77c5d2429b9ce9622f3d674dfc967f74..4d28e1e4521b8c39992d327a4d0699d8f0df4ba2 100644 (file)
@@ -37,6 +37,8 @@ extern void cpu_die(void);
 extern void smp_send_debugger_break(int cpu);
 extern void smp_message_recv(int);
 
+DECLARE_PER_CPU(unsigned int, pvr);
+
 #ifdef CONFIG_HOTPLUG_CPU
 extern void fixup_irqs(cpumask_t map);
 int generic_cpu_disable(void);
@@ -60,6 +62,8 @@ extern int smp_hw_index[];
 #endif
 
 DECLARE_PER_CPU(cpumask_t, cpu_sibling_map);
+DECLARE_PER_CPU(cpumask_t, cpu_core_map);
+extern int cpu_to_core_id(int cpu);
 
 /* Since OpenPIC has only 4 IPIs, we use slightly different message numbers.
  *