summaryrefslogtreecommitdiff
path: root/arch/x86/boot/compressed/misc_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boot/compressed/misc_64.c')
-rw-r--r--arch/x86/boot/compressed/misc_64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/boot/compressed/misc_64.c b/arch/x86/boot/compressed/misc_64.c
index 7d8338e21b00..8494f0dcff21 100644
--- a/arch/x86/boot/compressed/misc_64.c
+++ b/arch/x86/boot/compressed/misc_64.c
@@ -338,7 +338,8 @@ static void error(char *x)
putstr(x);
putstr("\n\n -- System halted");
- while(1); /* Halt */
+ while (1)
+ asm("hlt");
}
asmlinkage void decompress_kernel(void *rmode, unsigned long heap,