mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 07:38:10 +00:00
x86: fix comment in protected mode header
Comments in arch/x86/boot/compressed/head_32.S erroneously refer to the real mode pointer as the second and the heap area as the third argument to decompress_kernel(). In fact, these have been the first and second argument, respectively, since v2.6.20. This patch corrects the comments. It introduces no code changes. Signed-off-by: Philipp Kohlbecher <xt28@gmx.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
8aeb402263
commit
59f09ba2b6
1 changed files with 3 additions and 2 deletions
|
@ -137,14 +137,15 @@ relocated:
|
||||||
*/
|
*/
|
||||||
movl output_len(%ebx), %eax
|
movl output_len(%ebx), %eax
|
||||||
pushl %eax
|
pushl %eax
|
||||||
|
# push arguments for decompress_kernel:
|
||||||
pushl %ebp # output address
|
pushl %ebp # output address
|
||||||
movl input_len(%ebx), %eax
|
movl input_len(%ebx), %eax
|
||||||
pushl %eax # input_len
|
pushl %eax # input_len
|
||||||
leal input_data(%ebx), %eax
|
leal input_data(%ebx), %eax
|
||||||
pushl %eax # input_data
|
pushl %eax # input_data
|
||||||
leal boot_heap(%ebx), %eax
|
leal boot_heap(%ebx), %eax
|
||||||
pushl %eax # heap area as third argument
|
pushl %eax # heap area
|
||||||
pushl %esi # real mode pointer as second arg
|
pushl %esi # real mode pointer
|
||||||
call decompress_kernel
|
call decompress_kernel
|
||||||
addl $20, %esp
|
addl $20, %esp
|
||||||
popl %ecx
|
popl %ecx
|
||||||
|
|
Loading…
Reference in a new issue