]> git.pld-linux.org Git - packages/kernel.git/blob - 2.6.x-cpu_2_node-lkml.patch
- added description of djurban's branch
[packages/kernel.git] / 2.6.x-cpu_2_node-lkml.patch
1 --- 1.67/arch/i386/kernel/smpboot.c     Sun Oct  5 01:07:44 2003
2 +++ edited/arch/i386/kernel/smpboot.c   Fri Jan 30 10:16:05 2004
3 @@ -33,6 +33,7 @@
4   *             Dave Jones      :       Report invalid combinations of Athlon CPUs.
5  *              Rusty Russell   :       Hacked into shape for new "hotplug" boot process. */
6  
7 +#include <linux/module.h>
8  #include <linux/config.h>
9  #include <linux/init.h>
10  #include <linux/kernel.h>
11 @@ -503,6 +504,7 @@
12                                 { [0 ... MAX_NUMNODES-1] = CPU_MASK_NONE };
13  /* which node each logical CPU is on */
14  int cpu_2_node[NR_CPUS] = { [0 ... NR_CPUS-1] = 0 };
15 +EXPORT_SYMBOL(cpu_2_node);
16  
17  /* set up a mapping between cpu and node. */
18  static inline void map_cpu_to_node(int cpu, int node)
This page took 0.029863 seconds and 3 git commands to generate.