summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2019-08-27 17:09:09 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-08-30 12:05:16 +0200
commit987b49d5892762d0227a6f6bdd1ca047bf23db51 (patch)
tree932625ca5886040ec54327766a8b5cf78a54d638 /include
parent3dc45020a9dd75af628bc0eca07465b2a4c7378f (diff)
downloadbarebox-987b49d5892762d0227a6f6bdd1ca047bf23db51.tar.gz
barebox-987b49d5892762d0227a6f6bdd1ca047bf23db51.tar.xz
Kconfig: create Kconfig symbol for ARCH_HAS_STACK_DUMP
Other arch-specific features are exposed in Kconfig too, so do here likewise. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index 8cc8e14fb7..ebb2ecef5c 100644
--- a/include/common.h
+++ b/include/common.h
@@ -72,7 +72,7 @@ int ctrlc(void);
int arch_ctrlc(void);
void ctrlc_handled(void);
-#ifdef ARCH_HAS_STACK_DUMP
+#ifdef CONFIG_ARCH_HAS_STACK_DUMP
void dump_stack(void);
#else
static inline void dump_stack(void)