patch-1.3.73 linux/include/asm-i386/smp.h

Next file: linux/include/asm-i386/termios.h
Previous file: linux/include/asm-i386/irq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.72/linux/include/asm-i386/smp.h linux/include/asm-i386/smp.h
@@ -200,6 +200,9 @@
 extern void smp_boot_cpus(void);
 extern void smp_store_cpu_info(int id);		/* Store per cpu info (like the initial udelay numbers */
 
+extern volatile unsigned long smp_proc_in_lock[NR_CPUS]; /* for computing process time */
+extern volatile unsigned long smp_process_available;
+
 /*
  *	APIC handlers: Note according to the Intel specification update
  *	you should put reads between APIC writes.
@@ -245,6 +248,8 @@
  
 #define PROC_CHANGE_PENALTY	20		/* Schedule penalty */
 
+#define SMP_FROM_INT		1
+#define SMP_FROM_SYSCALL	2
 
 #endif
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this