patch-2.1.33 linux/include/asm-i386/irq.h
Next file: linux/include/asm-i386/uaccess.h
Previous file: linux/fs/proc/procfs_syms.c
Back to the patch index
Back to the overall index
-  Lines: 19
-  Date:
Mon Apr  7 14:02:43 1997
-  Orig file: 
v2.1.32/linux/include/asm-i386/irq.h
-  Orig date: 
Thu Mar 27 14:40:06 1997
diff -u --recursive --new-file v2.1.32/linux/include/asm-i386/irq.h linux/include/asm-i386/irq.h
@@ -156,6 +156,18 @@
 	"call "SYMBOL_NAME_STR(smp_##x)"\n\t" \
 	"jmp ret_from_intr\n");
 
+#define BUILD_SMP_TIMER_INTERRUPT(x) \
+asmlinkage void x(struct pt_regs * regs); \
+__asm__( \
+"\n"__ALIGN_STR"\n" \
+SYMBOL_NAME_STR(x) ":\n\t" \
+	SAVE_MOST \
+	"movl %esp,%eax\n\t" \
+	"pushl %eax\n\t" \
+	"call "SYMBOL_NAME_STR(smp_##x)"\n\t" \
+	"addl $4,%esp\n\t" \
+	RESTORE_MOST);
+
 #endif /* __SMP__ */
 
 #define BUILD_IRQ(chip,nr,mask) \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov