diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-26 08:43:42 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-26 08:57:07 +0200 |
commit | 5b620bce2e2e028d8cc949681816cbfae44b9ed0 (patch) | |
tree | 5a6d54a770f229965d30537a66a16e8b9d43a462 /pbl/misc.c | |
parent | 5b0fc19196c8cfbd061708fadedbcefb6be3156e (diff) | |
download | barebox-5b620bce2e2e028d8cc949681816cbfae44b9ed0.tar.gz barebox-5b620bce2e2e028d8cc949681816cbfae44b9ed0.tar.xz |
pbl: provide hang() function for the pbl
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'pbl/misc.c')
-rw-r--r-- | pbl/misc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pbl/misc.c b/pbl/misc.c index 47e9ceabe3..a2cb44deac 100644 --- a/pbl/misc.c +++ b/pbl/misc.c @@ -4,6 +4,11 @@ #include <linux/string.h> #include <linux/ctype.h> +void __noreturn hang(void) +{ + while (1); +} + void __noreturn panic(const char *fmt, ...) { while(1); |