diff options
Diffstat (limited to 'arch/x86/kernel/head_32.S')
-rw-r--r-- | arch/x86/kernel/head_32.S | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S index 00b1c2c56454..374b7ece8961 100644 --- a/arch/x86/kernel/head_32.S +++ b/arch/x86/kernel/head_32.S | |||
@@ -124,12 +124,7 @@ ENTRY(startup_32) | |||
124 | movsl | 124 | movsl |
125 | movl boot_params - __PAGE_OFFSET + NEW_CL_POINTER,%esi | 125 | movl boot_params - __PAGE_OFFSET + NEW_CL_POINTER,%esi |
126 | andl %esi,%esi | 126 | andl %esi,%esi |
127 | jnz 2f # New command line protocol | 127 | jz 1f # No comand line |
128 | cmpw $(OLD_CL_MAGIC),OLD_CL_MAGIC_ADDR | ||
129 | jne 1f | ||
130 | movzwl OLD_CL_OFFSET,%esi | ||
131 | addl $(OLD_CL_BASE_ADDR),%esi | ||
132 | 2: | ||
133 | movl $(boot_command_line - __PAGE_OFFSET),%edi | 128 | movl $(boot_command_line - __PAGE_OFFSET),%edi |
134 | movl $(COMMAND_LINE_SIZE/4),%ecx | 129 | movl $(COMMAND_LINE_SIZE/4),%ecx |
135 | rep | 130 | rep |