patch-1.3.30 linux/include/asm-i386/smp.h
Next file: linux/include/linux/ax25.h
Previous file: linux/include/asm-i386/signal.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Wed Sep 27 13:07:32 1995
- Orig file:
v1.3.29/linux/include/asm-i386/smp.h
- Orig date:
Wed Sep 13 12:45:32 1995
diff -u --recursive --new-file v1.3.29/linux/include/asm-i386/smp.h linux/include/asm-i386/smp.h
@@ -4,6 +4,8 @@
#ifndef ASSEMBLY
#include <asm/i82489.h>
+#include <linux/tasks.h>
+#include <linux/ptrace.h>
/*
* Support definitions for SMP machines following the intel multiprocessing
@@ -163,7 +165,7 @@
};
-extern struct cpuinfo_x86 cpu_data[32];
+extern struct cpuinfo_x86 cpu_data[NR_PROCS];
/*
* Private routines/data
@@ -172,7 +174,7 @@
extern void smp_scan_config(unsigned long, unsigned long);
extern unsigned long smp_alloc_memory(unsigned long mem_base);
extern unsigned char *apic_reg;
-extern unsigned char *kernel_stacks[32];
+extern unsigned char *kernel_stacks[NR_PROCS];
extern unsigned char boot_cpu_id;
extern unsigned long cpu_present_map;
extern void smp_invalidate(void);
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this