summaryrefslogtreecommitdiff
path: root/arch/tile/include/asm/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/include/asm/setup.h')
-rw-r--r--arch/tile/include/asm/setup.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/tile/include/asm/setup.h b/arch/tile/include/asm/setup.h
index e98909033e5b..2a0347af0702 100644
--- a/arch/tile/include/asm/setup.h
+++ b/arch/tile/include/asm/setup.h
@@ -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);