提交 94a8a7ac 编写于 作者: P Pavel Machek 提交者: Ingo Molnar

x86: remove misleading comments in trampoline_*.S

Both trampolines actually *do* set up stack. (Is the "we jump into
compressed/head.S" comment still true?)
Signed-off-by: NPavel Machek <pavel@suse.cz>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 9b423934
...@@ -11,12 +11,7 @@ ...@@ -11,12 +11,7 @@
* trampoline page to make our stack and everything else * trampoline page to make our stack and everything else
* is a mystery. * is a mystery.
* *
* In fact we don't actually need a stack so we don't * We jump into arch/x86/kernel/head_32.S.
* set one up.
*
* We jump into the boot/compressed/head.S code. So you'd
* better be running a compressed kernel image or you
* won't get very far.
* *
* On entry to trampoline_data, the processor is in real mode * On entry to trampoline_data, the processor is in real mode
* with 16-bit addressing and 16-bit data. CS has some value * with 16-bit addressing and 16-bit data. CS has some value
......
...@@ -10,9 +10,6 @@ ...@@ -10,9 +10,6 @@
* trampoline page to make our stack and everything else * trampoline page to make our stack and everything else
* is a mystery. * is a mystery.
* *
* In fact we don't actually need a stack so we don't
* set one up.
*
* On entry to trampoline_data, the processor is in real mode * On entry to trampoline_data, the processor is in real mode
* with 16-bit addressing and 16-bit data. CS has some value * with 16-bit addressing and 16-bit data. CS has some value
* and IP is zero. Thus, data addresses need to be absolute * and IP is zero. Thus, data addresses need to be absolute
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册