aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig10
-rw-r--r--init/Makefile9
-rw-r--r--init/main.c2
3 files changed, 6 insertions, 15 deletions
diff --git a/init/Kconfig b/init/Kconfig
index f000edb3bb7a..a3f83e2c8250 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -450,7 +450,7 @@ config SHMEM
450 450
451config SLAB 451config SLAB
452 default y 452 default y
453 bool "Use full SLAB allocator" if EMBEDDED 453 bool "Use full SLAB allocator" if (EMBEDDED && !SMP && !SPARSEMEM)
454 help 454 help
455 Disabling this replaces the advanced SLAB allocator and 455 Disabling this replaces the advanced SLAB allocator and
456 kmalloc support with the drastically simpler SLOB allocator. 456 kmalloc support with the drastically simpler SLOB allocator.
@@ -461,10 +461,10 @@ config VM_EVENT_COUNTERS
461 default y 461 default y
462 bool "Enable VM event counters for /proc/vmstat" if EMBEDDED 462 bool "Enable VM event counters for /proc/vmstat" if EMBEDDED
463 help 463 help
464 VM event counters are only needed to for event counts to be 464 VM event counters are needed for event counts to be shown.
465 shown. They have no function for the kernel itself. This 465 This option allows the disabling of the VM event counters
466 option allows the disabling of the VM event counters. 466 on EMBEDDED systems. /proc/vmstat will only show page counts
467 /proc/vmstat will only show page counts. 467 if VM event counters are disabled.
468 468
469endmenu # General setup 469endmenu # General setup
470 470
diff --git a/init/Makefile b/init/Makefile
index d6c764d0eabb..9cd871ce5784 100644
--- a/init/Makefile
+++ b/init/Makefile
@@ -18,12 +18,3 @@ clean-files := ../include/linux/compile.h
18$(obj)/main.o: include/linux/compile.h 18$(obj)/main.o: include/linux/compile.h
19$(obj)/version.o: include/linux/compile.h 19$(obj)/version.o: include/linux/compile.h
20 20
21# compile.h changes depending on hostname, generation number, etc,
22# so we regenerate it always.
23# mkcompile_h will make sure to only update the
24# actual file if its content has changed.
25
26include/linux/compile.h: FORCE
27 @echo ' CHK $@'
28 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ \
29 "$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)" "$(CC) $(CFLAGS)"
diff --git a/init/main.c b/init/main.c
index e3f0bb20b4dd..2b1cdaab45e6 100644
--- a/init/main.c
+++ b/init/main.c
@@ -53,6 +53,7 @@
53#include <linux/utsrelease.h> 53#include <linux/utsrelease.h>
54#include <linux/pid_namespace.h> 54#include <linux/pid_namespace.h>
55#include <linux/compile.h> 55#include <linux/compile.h>
56#include <linux/device.h>
56 57
57#include <asm/io.h> 58#include <asm/io.h>
58#include <asm/bugs.h> 59#include <asm/bugs.h>
@@ -94,7 +95,6 @@ extern void pidmap_init(void);
94extern void prio_tree_init(void); 95extern void prio_tree_init(void);
95extern void radix_tree_init(void); 96extern void radix_tree_init(void);
96extern void free_initmem(void); 97extern void free_initmem(void);
97extern void driver_init(void);
98extern void prepare_namespace(void); 98extern void prepare_namespace(void);
99#ifdef CONFIG_ACPI 99#ifdef CONFIG_ACPI
100extern void acpi_early_init(void); 100extern void acpi_early_init(void);