diff options
Diffstat (limited to 'common/misc.c')
-rw-r--r-- | common/misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/misc.c b/common/misc.c index 6da71c7ab7..5532349e43 100644 --- a/common/misc.c +++ b/common/misc.c @@ -24,6 +24,7 @@ #include <environment.h> #include <led.h> #include <of.h> +#include <restart.h> int errno; EXPORT_SYMBOL(errno); @@ -206,7 +207,7 @@ void __noreturn panic(const char *fmt, ...) hang(); } else { udelay(100000); /* allow messages to go out */ - reset_cpu(0); + restart_machine(); } } EXPORT_SYMBOL(panic); |