Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tile: allow disabling CONFIG_EARLY_PRINTK

In that case, any users of early_panic() end up calling panic().

Signed-off-by: Chris Metcalf <cmetcalf@mellanox.com>

+5
+5
arch/tile/include/asm/setup.h
··· 25 25 #define MAXMEM_PFN PFN_DOWN(MAXMEM) 26 26 27 27 int tile_console_write(const char *buf, int count); 28 + 29 + #ifdef CONFIG_EARLY_PRINTK 28 30 void early_panic(const char *fmt, ...); 31 + #else 32 + #define early_panic panic 33 + #endif 29 34 30 35 /* Init-time routine to do tile-specific per-cpu setup. */ 31 36 void setup_cpu(int boot);