提交 87c1efbf 编写于 作者: J Jens Axboe

Fix compile/link of init/do_mounts.c with !CONFIG_BLOCK

We need a stub function for when CONFIG_BLOCK isn't set.
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
上级 d89d8796
......@@ -434,6 +434,10 @@ static inline struct block_device *bdget_disk(struct gendisk *disk, int index)
#endif
#endif
#else /* CONFIG_BLOCK */
static inline void printk_all_partitions(void) { }
#endif /* CONFIG_BLOCK */
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册