diff options
| author | Mark Brown <broonie@linaro.org> | 2013-08-15 06:19:52 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2013-08-15 06:19:52 -0400 |
| commit | 4210606b19852dce52ed1a687db816695b6048e1 (patch) | |
| tree | fd0762f88dc54560d87fc1e523741d92228f6a9c /arch/x86/mm/numa_emulation.c | |
| parent | 4d8cfa4642f7d8fafa4d60f05dd34fe8c3b9fa45 (diff) | |
| parent | b7ae6f31d8243ec684af16bc5c763eccdfabaec0 (diff) | |
Merge branch 'topic/dma' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-pxa
Diffstat (limited to 'arch/x86/mm/numa_emulation.c')
| -rw-r--r-- | arch/x86/mm/numa_emulation.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/mm/numa_emulation.c b/arch/x86/mm/numa_emulation.c index dbbbb47260cc..a8f90ce3dedf 100644 --- a/arch/x86/mm/numa_emulation.c +++ b/arch/x86/mm/numa_emulation.c | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | 10 | ||
| 11 | #include "numa_internal.h" | 11 | #include "numa_internal.h" |
| 12 | 12 | ||
| 13 | static int emu_nid_to_phys[MAX_NUMNODES] __cpuinitdata; | 13 | static int emu_nid_to_phys[MAX_NUMNODES]; |
| 14 | static char *emu_cmdline __initdata; | 14 | static char *emu_cmdline __initdata; |
| 15 | 15 | ||
| 16 | void __init numa_emu_cmdline(char *str) | 16 | void __init numa_emu_cmdline(char *str) |
| @@ -444,7 +444,7 @@ no_emu: | |||
| 444 | } | 444 | } |
| 445 | 445 | ||
| 446 | #ifndef CONFIG_DEBUG_PER_CPU_MAPS | 446 | #ifndef CONFIG_DEBUG_PER_CPU_MAPS |
| 447 | void __cpuinit numa_add_cpu(int cpu) | 447 | void numa_add_cpu(int cpu) |
| 448 | { | 448 | { |
| 449 | int physnid, nid; | 449 | int physnid, nid; |
| 450 | 450 | ||
| @@ -462,7 +462,7 @@ void __cpuinit numa_add_cpu(int cpu) | |||
| 462 | cpumask_set_cpu(cpu, node_to_cpumask_map[nid]); | 462 | cpumask_set_cpu(cpu, node_to_cpumask_map[nid]); |
| 463 | } | 463 | } |
| 464 | 464 | ||
| 465 | void __cpuinit numa_remove_cpu(int cpu) | 465 | void numa_remove_cpu(int cpu) |
| 466 | { | 466 | { |
| 467 | int i; | 467 | int i; |
| 468 | 468 | ||
| @@ -470,7 +470,7 @@ void __cpuinit numa_remove_cpu(int cpu) | |||
| 470 | cpumask_clear_cpu(cpu, node_to_cpumask_map[i]); | 470 | cpumask_clear_cpu(cpu, node_to_cpumask_map[i]); |
| 471 | } | 471 | } |
| 472 | #else /* !CONFIG_DEBUG_PER_CPU_MAPS */ | 472 | #else /* !CONFIG_DEBUG_PER_CPU_MAPS */ |
| 473 | static void __cpuinit numa_set_cpumask(int cpu, bool enable) | 473 | static void numa_set_cpumask(int cpu, bool enable) |
| 474 | { | 474 | { |
| 475 | int nid, physnid; | 475 | int nid, physnid; |
| 476 | 476 | ||
| @@ -490,12 +490,12 @@ static void __cpuinit numa_set_cpumask(int cpu, bool enable) | |||
| 490 | } | 490 | } |
| 491 | } | 491 | } |
| 492 | 492 | ||
| 493 | void __cpuinit numa_add_cpu(int cpu) | 493 | void numa_add_cpu(int cpu) |
| 494 | { | 494 | { |
| 495 | numa_set_cpumask(cpu, true); | 495 | numa_set_cpumask(cpu, true); |
| 496 | } | 496 | } |
| 497 | 497 | ||
| 498 | void __cpuinit numa_remove_cpu(int cpu) | 498 | void numa_remove_cpu(int cpu) |
| 499 | { | 499 | { |
| 500 | numa_set_cpumask(cpu, false); | 500 | numa_set_cpumask(cpu, false); |
| 501 | } | 501 | } |
