提交 9fbd49cf 编写于 作者: C Chris Metcalf

tile: allow disabling CONFIG_EARLY_PRINTK

In that case, any users of early_panic() end up calling panic().
Signed-off-by: NChris Metcalf <cmetcalf@mellanox.com>
上级 af8c34ce
......@@ -25,7 +25,12 @@
#define MAXMEM_PFN PFN_DOWN(MAXMEM)
int tile_console_write(const char *buf, int count);
#ifdef CONFIG_EARLY_PRINTK
void early_panic(const char *fmt, ...);
#else
#define early_panic panic
#endif
/* Init-time routine to do tile-specific per-cpu setup. */
void setup_cpu(int boot);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册