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>
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user