patch-2.3.51 linux/include/asm-ia64/smp.h

Next file: linux/include/asm-ia64/socket.h
Previous file: linux/include/asm-ia64/ptrace_offsets.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.50/linux/include/asm-ia64/smp.h linux/include/asm-ia64/smp.h
@@ -9,12 +9,13 @@
 
 #include <linux/config.h>
 
+#ifdef CONFIG_SMP
+
 #include <linux/init.h>
 #include <linux/threads.h>
 #include <linux/kernel.h>
 
 #include <asm/ptrace.h>
-#include <asm/spinlock.h>
 #include <asm/io.h>
 
 #define IPI_DEFAULT_BASE_ADDR	0xfee00000
@@ -99,4 +100,5 @@
 extern void __init init_smp_config (void);
 extern void smp_do_timer (struct pt_regs *regs);
 
+#endif /* CONFIG_SMP */
 #endif /* _ASM_IA64_SMP_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)