tile: allow disabling CONFIG_EARLY_PRINTK
[cascardo/linux.git] / arch / tile / include / asm / setup.h
index e989090..2a0347a 100644 (file)
 #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);