提交 647f010b 编写于 作者: A Andrew Morton 提交者: Linus Torvalds

init/main.c: remove an ifdef

Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 34a1b723
...@@ -44,6 +44,10 @@ extern int remove_proc_subtree(const char *, struct proc_dir_entry *); ...@@ -44,6 +44,10 @@ extern int remove_proc_subtree(const char *, struct proc_dir_entry *);
#else /* CONFIG_PROC_FS */ #else /* CONFIG_PROC_FS */
static inline void proc_root_init(void)
{
}
static inline void proc_flush_task(struct task_struct *task) static inline void proc_flush_task(struct task_struct *task)
{ {
} }
......
...@@ -629,9 +629,7 @@ asmlinkage __visible void __init start_kernel(void) ...@@ -629,9 +629,7 @@ asmlinkage __visible void __init start_kernel(void)
signals_init(); signals_init();
/* rootfs populating might need page-writeback */ /* rootfs populating might need page-writeback */
page_writeback_init(); page_writeback_init();
#ifdef CONFIG_PROC_FS
proc_root_init(); proc_root_init();
#endif
cgroup_init(); cgroup_init();
cpuset_init(); cpuset_init();
taskstats_init_early(); taskstats_init_early();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册