From db41d65a97f335167e1fbc0400a83333b5157703 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 28 Dec 2019 10:45:07 -0700 Subject: common: Move hang() to the same header as panic() At present panic() is in the vsprintf.h header file. That does not seem like an obvious choice for hang(), even though it relates to panic(). So let's put hang() in its own header. Signed-off-by: Simon Glass [trini: Migrate a few more files] Signed-off-by: Tom Rini --- arch/microblaze/cpu/exception.c | 1 + arch/microblaze/lib/bootm.c | 1 + 2 files changed, 2 insertions(+) (limited to 'arch/microblaze') diff --git a/arch/microblaze/cpu/exception.c b/arch/microblaze/cpu/exception.c index bdcbe086859..b8dedc4e195 100644 --- a/arch/microblaze/cpu/exception.c +++ b/arch/microblaze/cpu/exception.c @@ -6,6 +6,7 @@ */ #include +#include #include void _hw_exception_handler (void) diff --git a/arch/microblaze/lib/bootm.c b/arch/microblaze/lib/bootm.c index efd5acf3592..2d6a41be2fd 100644 --- a/arch/microblaze/lib/bootm.c +++ b/arch/microblaze/lib/bootm.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include -- cgit v1.3.1