]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-ia64/smp.h
IB/ipath: Wait for PIO available interrupt
[linux-2.6-omap-h63xx.git] / include / asm-ia64 / smp.h
index 74bde1c2bb1a93b48c2c4ac78df57dc8965913b5..c60024989ebd59b70bd090d01cc0ada6a95ad9d4 100644 (file)
@@ -38,6 +38,8 @@ ia64_get_lid (void)
        return lid.f.id << 8 | lid.f.eid;
 }
 
+#define hard_smp_processor_id()                ia64_get_lid()
+
 #ifdef CONFIG_SMP
 
 #define XTP_OFFSET             0x1e0008
@@ -110,8 +112,6 @@ max_xtp (void)
                writeb(0x0f, ipi_base_addr + XTP_OFFSET); /* Set XTP to max */
 }
 
-#define hard_smp_processor_id()                ia64_get_lid()
-
 /* Upping and downing of CPUs */
 extern int __cpu_disable (void);
 extern void __cpu_die (unsigned int cpu);
@@ -126,8 +126,9 @@ extern void smp_send_reschedule (int cpu);
 extern void lock_ipi_calllock(void);
 extern void unlock_ipi_calllock(void);
 extern void identify_siblings (struct cpuinfo_ia64 *);
+extern int is_multithreading_enabled(void);
 
-#else
+#else /* CONFIG_SMP */
 
 #define cpu_logical_id(i)              0
 #define cpu_physical_id(i)             ia64_get_lid()