summaryrefslogtreecommitdiffstats
path: root/pbl/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'pbl/misc.c')
-rw-r--r--pbl/misc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pbl/misc.c b/pbl/misc.c
index 47e9ceabe..a2cb44dea 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);