patch-2.1.124 linux/include/asm-sparc/smp.h

Next file: linux/include/asm-sparc/softirq.h
Previous file: linux/include/asm-sparc/siginfo.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.123/linux/include/asm-sparc/smp.h linux/include/asm-sparc/smp.h
@@ -65,6 +65,9 @@
 void smp_boot_cpus(void);
 void smp_store_cpu_info(int);
 
+int smp_bogo_info(char *buf);
+int smp_info(char *buf);
+
 BTFIXUPDEF_CALL(void, smp_cross_call, smpfunc_t, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)
 BTFIXUPDEF_CALL(void, smp_message_pass, int, int, unsigned long, int)
 BTFIXUPDEF_CALL(int, __smp_processor_id, void)
@@ -74,12 +77,6 @@
 #define smp_cross_call(func,arg1,arg2,arg3,arg4,arg5) BTFIXUP_CALL(smp_cross_call)(func,arg1,arg2,arg3,arg4,arg5)
 #define smp_message_pass(target,msg,data,wait) BTFIXUP_CALL(smp_message_pass)(target,msg,data,wait)
 
-BTFIXUPDEF_CALL(int, smp_bogo_info, char *)
-BTFIXUPDEF_CALL(int, smp_info, char *)
-
-#define smp_bogo_info(buf) BTFIXUP_CALL(smp_bogo_info)(buf)
-#define smp_info(buf) BTFIXUP_CALL(smp_info)(buf)
-
 extern __inline__ void xc0(smpfunc_t func) { smp_cross_call(func, 0, 0, 0, 0, 0); }
 extern __inline__ void xc1(smpfunc_t func, unsigned long arg1)
 { smp_cross_call(func, arg1, 0, 0, 0, 0); }
@@ -184,8 +181,7 @@
 
 #define SMP_FROM_INT		1
 #define SMP_FROM_SYSCALL	2
-
-#else /* !(__SMP__) */
+#endif /* !(__SMP__) */
 
 #define NO_PROC_ID            0xFF
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov