diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 4 | ||||
-rw-r--r-- | init/do_mounts.c | 4 | ||||
-rw-r--r-- | init/do_mounts_md.c | 2 | ||||
-rw-r--r-- | init/main.c | 9 |
4 files changed, 6 insertions, 13 deletions
diff --git a/init/Kconfig b/init/Kconfig index d9d3dbabdb18..e7893b1d3e42 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -848,10 +848,6 @@ config RT_MUTEXES | |||
848 | boolean | 848 | boolean |
849 | select PLIST | 849 | select PLIST |
850 | 850 | ||
851 | config TINY_SHMEM | ||
852 | default !SHMEM | ||
853 | bool | ||
854 | |||
855 | config BASE_SMALL | 851 | config BASE_SMALL |
856 | int | 852 | int |
857 | default 0 if BASE_FULL | 853 | default 0 if BASE_FULL |
diff --git a/init/do_mounts.c b/init/do_mounts.c index d055b1914c3d..5efca73b39f9 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c | |||
@@ -220,10 +220,10 @@ static int __init do_mount_root(char *name, char *fs, int flags, void *data) | |||
220 | 220 | ||
221 | sys_chdir("/root"); | 221 | sys_chdir("/root"); |
222 | ROOT_DEV = current->fs->pwd.mnt->mnt_sb->s_dev; | 222 | ROOT_DEV = current->fs->pwd.mnt->mnt_sb->s_dev; |
223 | printk("VFS: Mounted root (%s filesystem)%s.\n", | 223 | printk("VFS: Mounted root (%s filesystem)%s on device %u:%u.\n", |
224 | current->fs->pwd.mnt->mnt_sb->s_type->name, | 224 | current->fs->pwd.mnt->mnt_sb->s_type->name, |
225 | current->fs->pwd.mnt->mnt_sb->s_flags & MS_RDONLY ? | 225 | current->fs->pwd.mnt->mnt_sb->s_flags & MS_RDONLY ? |
226 | " readonly" : ""); | 226 | " readonly" : "", MAJOR(ROOT_DEV), MINOR(ROOT_DEV)); |
227 | return 0; | 227 | return 0; |
228 | } | 228 | } |
229 | 229 | ||
diff --git a/init/do_mounts_md.c b/init/do_mounts_md.c index d6da5cdd3c38..ff95e3192884 100644 --- a/init/do_mounts_md.c +++ b/init/do_mounts_md.c | |||
@@ -271,7 +271,7 @@ static int __init raid_setup(char *str) | |||
271 | __setup("raid=", raid_setup); | 271 | __setup("raid=", raid_setup); |
272 | __setup("md=", md_setup); | 272 | __setup("md=", md_setup); |
273 | 273 | ||
274 | static void autodetect_raid(void) | 274 | static void __init autodetect_raid(void) |
275 | { | 275 | { |
276 | int fd; | 276 | int fd; |
277 | 277 | ||
diff --git a/init/main.c b/init/main.c index cd168ebc5924..b5a892c68375 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -50,7 +50,6 @@ | |||
50 | #include <linux/rmap.h> | 50 | #include <linux/rmap.h> |
51 | #include <linux/mempolicy.h> | 51 | #include <linux/mempolicy.h> |
52 | #include <linux/key.h> | 52 | #include <linux/key.h> |
53 | #include <linux/unwind.h> | ||
54 | #include <linux/buffer_head.h> | 53 | #include <linux/buffer_head.h> |
55 | #include <linux/page_cgroup.h> | 54 | #include <linux/page_cgroup.h> |
56 | #include <linux/debug_locks.h> | 55 | #include <linux/debug_locks.h> |
@@ -108,7 +107,7 @@ EXPORT_SYMBOL(system_state); | |||
108 | 107 | ||
109 | extern void time_init(void); | 108 | extern void time_init(void); |
110 | /* Default late time init is NULL. archs can override this later. */ | 109 | /* Default late time init is NULL. archs can override this later. */ |
111 | void (*late_time_init)(void); | 110 | void (*__initdata late_time_init)(void); |
112 | extern void softirq_init(void); | 111 | extern void softirq_init(void); |
113 | 112 | ||
114 | /* Untouched command line saved by arch-specific code. */ | 113 | /* Untouched command line saved by arch-specific code. */ |
@@ -447,7 +446,7 @@ static void __init setup_command_line(char *command_line) | |||
447 | * gcc-3.4 accidentally inlines this function, so use noinline. | 446 | * gcc-3.4 accidentally inlines this function, so use noinline. |
448 | */ | 447 | */ |
449 | 448 | ||
450 | static void noinline __init_refok rest_init(void) | 449 | static noinline void __init_refok rest_init(void) |
451 | __releases(kernel_lock) | 450 | __releases(kernel_lock) |
452 | { | 451 | { |
453 | int pid; | 452 | int pid; |
@@ -537,7 +536,6 @@ asmlinkage void __init start_kernel(void) | |||
537 | * Need to run as early as possible, to initialize the | 536 | * Need to run as early as possible, to initialize the |
538 | * lockdep hash: | 537 | * lockdep hash: |
539 | */ | 538 | */ |
540 | unwind_init(); | ||
541 | lockdep_init(); | 539 | lockdep_init(); |
542 | debug_objects_early_init(); | 540 | debug_objects_early_init(); |
543 | cgroup_init_early(); | 541 | cgroup_init_early(); |
@@ -559,7 +557,6 @@ asmlinkage void __init start_kernel(void) | |||
559 | setup_arch(&command_line); | 557 | setup_arch(&command_line); |
560 | mm_init_owner(&init_mm, &init_task); | 558 | mm_init_owner(&init_mm, &init_task); |
561 | setup_command_line(command_line); | 559 | setup_command_line(command_line); |
562 | unwind_setup(); | ||
563 | setup_per_cpu_areas(); | 560 | setup_per_cpu_areas(); |
564 | setup_nr_cpu_ids(); | 561 | setup_nr_cpu_ids(); |
565 | smp_prepare_boot_cpu(); /* arch-specific boot-cpu hooks */ | 562 | smp_prepare_boot_cpu(); /* arch-specific boot-cpu hooks */ |
@@ -786,7 +783,7 @@ static void run_init_process(char *init_filename) | |||
786 | /* This is a non __init function. Force it to be noinline otherwise gcc | 783 | /* This is a non __init function. Force it to be noinline otherwise gcc |
787 | * makes it inline to init() and it becomes part of init.text section | 784 | * makes it inline to init() and it becomes part of init.text section |
788 | */ | 785 | */ |
789 | static int noinline init_post(void) | 786 | static noinline int init_post(void) |
790 | { | 787 | { |
791 | free_initmem(); | 788 | free_initmem(); |
792 | unlock_kernel(); | 789 | unlock_kernel(); |