aboutsummaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/main.c')
-rw-r--r--init/main.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/init/main.c b/init/main.c
index 833d675677d1..5988debfc505 100644
--- a/init/main.c
+++ b/init/main.c
@@ -18,7 +18,6 @@
18#include <linux/string.h> 18#include <linux/string.h>
19#include <linux/ctype.h> 19#include <linux/ctype.h>
20#include <linux/delay.h> 20#include <linux/delay.h>
21#include <linux/utsname.h>
22#include <linux/ioport.h> 21#include <linux/ioport.h>
23#include <linux/init.h> 22#include <linux/init.h>
24#include <linux/smp_lock.h> 23#include <linux/smp_lock.h>
@@ -68,6 +67,7 @@
68#include <linux/async.h> 67#include <linux/async.h>
69#include <linux/kmemcheck.h> 68#include <linux/kmemcheck.h>
70#include <linux/kmemtrace.h> 69#include <linux/kmemtrace.h>
70#include <linux/sfi.h>
71#include <linux/shmem_fs.h> 71#include <linux/shmem_fs.h>
72#include <trace/boot.h> 72#include <trace/boot.h>
73 73
@@ -359,11 +359,6 @@ static inline void smp_prepare_cpus(unsigned int maxcpus) { }
359 359
360#else 360#else
361 361
362#if NR_CPUS > BITS_PER_LONG
363cpumask_t cpu_mask_all __read_mostly = CPU_MASK_ALL;
364EXPORT_SYMBOL(cpu_mask_all);
365#endif
366
367/* Setup number of possible processor ids */ 362/* Setup number of possible processor ids */
368int nr_cpu_ids __read_mostly = NR_CPUS; 363int nr_cpu_ids __read_mostly = NR_CPUS;
369EXPORT_SYMBOL(nr_cpu_ids); 364EXPORT_SYMBOL(nr_cpu_ids);
@@ -668,12 +663,12 @@ asmlinkage void __init start_kernel(void)
668#endif 663#endif
669 thread_info_cache_init(); 664 thread_info_cache_init();
670 cred_init(); 665 cred_init();
671 fork_init(num_physpages); 666 fork_init(totalram_pages);
672 proc_caches_init(); 667 proc_caches_init();
673 buffer_init(); 668 buffer_init();
674 key_init(); 669 key_init();
675 security_init(); 670 security_init();
676 vfs_caches_init(num_physpages); 671 vfs_caches_init(totalram_pages);
677 radix_tree_init(); 672 radix_tree_init();
678 signals_init(); 673 signals_init();
679 /* rootfs populating might need page-writeback */ 674 /* rootfs populating might need page-writeback */
@@ -689,6 +684,7 @@ asmlinkage void __init start_kernel(void)
689 check_bugs(); 684 check_bugs();
690 685
691 acpi_early_init(); /* before LAPIC and SMP init */ 686 acpi_early_init(); /* before LAPIC and SMP init */
687 sfi_init_late();
692 688
693 ftrace_init(); 689 ftrace_init();
694 690