aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2011-11-08 02:33:23 +0000
committerGraeme Russ <graeme.russ@gmail.com>2011-11-29 21:10:12 +1100
commit2f0e0cd246c2279883062fcfe90cd705f05bcb31 (patch)
treeee84bb090a34730344ea98fe4f64142fb42607f3
parent1cfcf0370132315d6eee375afdf7207ff60a07e0 (diff)
x86: Misc cleanups
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
-rw-r--r--arch/x86/cpu/start.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/cpu/start.S b/arch/x86/cpu/start.S
index d099fc9ba..f87633b56 100644
--- a/arch/x86/cpu/start.S
+++ b/arch/x86/cpu/start.S
@@ -48,7 +48,7 @@ _x86boot_start:
cli
cld
- /* Turn of cache (this might require a 486-class CPU) */
+ /* Turn off cache (this might require a 486-class CPU) */
movl %cr0, %eax
orl $(X86_CR0_NW | X86_CR0_CD), %eax
movl %eax, %cr0
@@ -122,7 +122,8 @@ relocate_code:
/* Jump to in-RAM copy of board_init_r() */
call *%ebp
-die: hlt
+die:
+ hlt
jmp die
hlt