Selaa lähdekoodia

Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6

* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
  [IA64] export account_system_vtime
  [IA64] Bugfix for system with 32 cpus
Linus Torvalds 17 vuotta sitten
vanhempi
commit
23c0e4a225
2 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 2 1
      arch/ia64/kernel/setup.c
  2. 1 0
      arch/ia64/kernel/time.c

+ 2 - 1
arch/ia64/kernel/setup.c

@@ -547,7 +547,8 @@ setup_arch (char **cmdline_p)
 # ifdef CONFIG_ACPI_NUMA
 # ifdef CONFIG_ACPI_NUMA
 	acpi_numa_init();
 	acpi_numa_init();
 	per_cpu_scan_finalize((cpus_weight(early_cpu_possible_map) == 0 ?
 	per_cpu_scan_finalize((cpus_weight(early_cpu_possible_map) == 0 ?
-		32 : cpus_weight(early_cpu_possible_map)), additional_cpus);
+		32 : cpus_weight(early_cpu_possible_map)),
+		additional_cpus > 0 ? additional_cpus : 0);
 # endif
 # endif
 #else
 #else
 # ifdef CONFIG_SMP
 # ifdef CONFIG_SMP

+ 1 - 0
arch/ia64/kernel/time.c

@@ -117,6 +117,7 @@ void account_system_vtime(struct task_struct *tsk)
 
 
 	local_irq_restore(flags);
 	local_irq_restore(flags);
 }
 }
+EXPORT_SYMBOL_GPL(account_system_vtime);
 
 
 /*
 /*
  * Called from the timer interrupt handler to charge accumulated user time
  * Called from the timer interrupt handler to charge accumulated user time