Merge tag 'pwm/for-4.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry...
[deliverable/linux.git] / arch / x86 / boot / compressed / error.c
CommitLineData
dc425a6e
KC
1/*
2 * Callers outside of misc.c need access to the error reporting routines,
3 * but the *_putstr() functions need to stay in misc.c because of how
4 * memcpy() and memmove() are defined for the compressed boot environment.
5 */
6#include "misc.h"
7
8void warn(char *m)
9{
10 error_putstr("\n\n");
11 error_putstr(m);
12 error_putstr("\n\n");
13}
14
15void error(char *m)
16{
17 warn(m);
18 error_putstr(" -- System halted");
19
20 while (1)
21 asm("hlt");
22}
This page took 0.047142 seconds and 5 git commands to generate.