Skip to content

Commit

Permalink
tile: allow disabling CONFIG_EARLY_PRINTK
Browse files Browse the repository at this point in the history
In that case, any users of early_panic() end up calling panic().

Signed-off-by: Chris Metcalf <[email protected]>
  • Loading branch information
cmetcalf-tilera committed Jun 7, 2016
1 parent af8c34c commit 9fbd49c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/tile/include/asm/setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9fbd49c

Please sign in to comment.