4 * Copyright (C) 1991, 1992 Linus Torvalds
7 /* vsprintf.c -- Lars Wirzenius & Linus Torvalds. */
9 * Wirzenius wrote this portably, Torvalds fucked it up :-)
13 #if !defined(CONFIG_PANIC_HANG)
17 static void panic_finish(void) __attribute__ ((noreturn));
19 static void panic_finish(void)
22 #if defined(CONFIG_PANIC_HANG)
25 udelay(100000); /* allow messages to go out */
26 do_reset(NULL, 0, 0, NULL);
32 void panic_str(const char *str)
38 void panic(const char *fmt, ...)