pbl: provide hang() function for the pbl
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
5b0fc19196
commit
5b620bce2e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue