Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9fbd49cf authored by Chris Metcalf's avatar Chris Metcalf
Browse files

tile: allow disabling CONFIG_EARLY_PRINTK



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

Signed-off-by: default avatarChris Metcalf <cmetcalf@mellanox.com>
parent af8c34ce
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -25,7 +25,12 @@
#define MAXMEM_PFN	PFN_DOWN(MAXMEM)
#define MAXMEM_PFN	PFN_DOWN(MAXMEM)


int tile_console_write(const char *buf, int count);
int tile_console_write(const char *buf, int count);

#ifdef CONFIG_EARLY_PRINTK
void early_panic(const char *fmt, ...);
void early_panic(const char *fmt, ...);
#else
#define early_panic panic
#endif


/* Init-time routine to do tile-specific per-cpu setup. */
/* Init-time routine to do tile-specific per-cpu setup. */
void setup_cpu(int boot);
void setup_cpu(int boot);