aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@gmail.com>2009-06-15 09:50:49 -0400
committerVegard Nossum <vegard.nossum@gmail.com>2009-06-15 09:50:49 -0400
commit722f2a6c87f34ee0fd0130a8cf45f81e0705594a (patch)
tree50b054df34d2731eb0ba0cf1a6c27e43e7eed428 /init
parent7a0aeb14e18ad59394bd9bbc6e57fb345819e748 (diff)
parent45e3e1935e2857c54783291107d33323b3ef33c8 (diff)
Merge commit 'linus/master' into HEAD
Conflicts: MAINTAINERS Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig18
-rw-r--r--init/main.c6
2 files changed, 16 insertions, 8 deletions
diff --git a/init/Kconfig b/init/Kconfig
index c649657e2259..fed6dc31b0da 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -809,14 +809,6 @@ config KALLSYMS_EXTRA_PASS
809 you wait for kallsyms to be fixed. 809 you wait for kallsyms to be fixed.
810 810
811 811
812config STRIP_ASM_SYMS
813 bool "Strip assembler-generated symbols during link"
814 default n
815 help
816 Strip internal assembler-generated symbols during a link (symbols
817 that look like '.Lxxx') so they don't pollute the output of
818 get_wchan() and suchlike.
819
820config HOTPLUG 812config HOTPLUG
821 bool "Support for hot-pluggable devices" if EMBEDDED 813 bool "Support for hot-pluggable devices" if EMBEDDED
822 default y 814 default y
@@ -936,6 +928,8 @@ config AIO
936 928
937config HAVE_PERF_COUNTERS 929config HAVE_PERF_COUNTERS
938 bool 930 bool
931 help
932 See tools/perf/design.txt for details.
939 933
940menu "Performance Counters" 934menu "Performance Counters"
941 935
@@ -996,6 +990,14 @@ config SLUB_DEBUG
996 SLUB sysfs support. /sys/slab will not exist and there will be 990 SLUB sysfs support. /sys/slab will not exist and there will be
997 no support for cache validation etc. 991 no support for cache validation etc.
998 992
993config STRIP_ASM_SYMS
994 bool "Strip assembler-generated symbols during link"
995 default n
996 help
997 Strip internal assembler-generated symbols during a link (symbols
998 that look like '.Lxxx') so they don't pollute the output of
999 get_wchan() and suchlike.
1000
999config COMPAT_BRK 1001config COMPAT_BRK
1000 bool "Disable heap randomization" 1002 bool "Disable heap randomization"
1001 default y 1003 default y
diff --git a/init/main.c b/init/main.c
index e3c335e47cd2..7becd8b5c5bf 100644
--- a/init/main.c
+++ b/init/main.c
@@ -540,6 +540,11 @@ void __init __weak thread_info_cache_init(void)
540 */ 540 */
541static void __init mm_init(void) 541static void __init mm_init(void)
542{ 542{
543 /*
544 * page_cgroup requires countinous pages as memmap
545 * and it's bigger than MAX_ORDER unless SPARSEMEM.
546 */
547 page_cgroup_init_flatmem();
543 mem_init(); 548 mem_init();
544 kmem_cache_init(); 549 kmem_cache_init();
545 vmalloc_init(); 550 vmalloc_init();
@@ -636,6 +641,7 @@ asmlinkage void __init start_kernel(void)
636 "enabled early\n"); 641 "enabled early\n");
637 early_boot_irqs_on(); 642 early_boot_irqs_on();
638 local_irq_enable(); 643 local_irq_enable();
644 kmem_cache_init_late();
639 645
640 /* 646 /*
641 * HACK ALERT! This is early. We're enabling the console before 647 * HACK ALERT! This is early. We're enabling the console before