init/main.c: remove an ifdef
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
34a1b7236a
commit
647f010bff
2 changed files with 4 additions and 2 deletions
|
@ -44,6 +44,10 @@ extern int remove_proc_subtree(const char *, struct proc_dir_entry *);
|
|||
|
||||
#else /* CONFIG_PROC_FS */
|
||||
|
||||
static inline void proc_root_init(void)
|
||||
{
|
||||
}
|
||||
|
||||
static inline void proc_flush_task(struct task_struct *task)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -629,9 +629,7 @@ asmlinkage __visible void __init start_kernel(void)
|
|||
signals_init();
|
||||
/* rootfs populating might need page-writeback */
|
||||
page_writeback_init();
|
||||
#ifdef CONFIG_PROC_FS
|
||||
proc_root_init();
|
||||
#endif
|
||||
cgroup_init();
|
||||
cpuset_init();
|
||||
taskstats_init_early();
|
||||
|
|
Loading…
Reference in a new issue