diff options
author | Patrick Georgi <pgeorgi@google.com> | 2014-11-28 22:35:36 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2014-11-30 12:20:07 +0100 |
commit | bd79c5eaf1f13f33c43c99657f24fa4c0330619a (patch) | |
tree | c20d6e5e00fcf3494d1c3fdd2d84b97ae34a21ea /src/console | |
parent | 1b2f2a071488bd15ce80194e85d318cd44659e54 (diff) | |
download | coreboot-bd79c5eaf1f13f33c43c99657f24fa4c0330619a.tar.xz |
Replace hlt() loops with halt()
Change-Id: I8486e70615f4c404a342cb86963b5357a934c41d
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: http://review.coreboot.org/7606
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/die.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/console/die.c b/src/console/die.c index 395ab75538..e6e968a5b3 100644 --- a/src/console/die.c +++ b/src/console/die.c @@ -20,8 +20,8 @@ */ #include <arch/io.h> -#include <arch/hlt.h> #include <console/console.h> +#include <halt.h> #ifndef __ROMCC__ #define NORETURN __attribute__((noreturn)) @@ -33,7 +33,5 @@ void NORETURN die(const char *msg) { print_emerg(msg); - do { - hlt(); - } while(1); + halt(); } |