projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af8c34c
)
tile: allow disabling CONFIG_EARLY_PRINTK
author
Chris Metcalf
<cmetcalf@mellanox.com>
Tue, 7 Jun 2016 20:49:08 +0000
(16:49 -0400)
committer
Chris Metcalf
<cmetcalf@mellanox.com>
Tue, 7 Jun 2016 20:55:20 +0000
(16:55 -0400)
In that case, any users of early_panic() end up calling panic().
Signed-off-by: Chris Metcalf <cmetcalf@mellanox.com>
arch/tile/include/asm/setup.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/tile/include/asm/setup.h
b/arch/tile/include/asm/setup.h
index e98909033e5b9e9b646d12024385c6f3ef9b46cc..2a0347af070219b0938717d2f73acb40ad48767a 100644
(file)
--- 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);