Skip to content

Commit

Permalink
x86: remove misleading comments in trampoline_*.S
Browse files Browse the repository at this point in the history
Both trampolines actually *do* set up stack. (Is the "we jump into
compressed/head.S" comment still true?)

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Pavel Machek authored and Ingo Molnar committed Feb 4, 2008
1 parent 9b42393 commit 94a8a7a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
7 changes: 1 addition & 6 deletions arch/x86/kernel/trampoline_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@
* trampoline page to make our stack and everything else
* is a mystery.
*
* In fact we don't actually need a stack so we don't
* 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.
* We jump into arch/x86/kernel/head_32.S.
*
* On entry to trampoline_data, the processor is in real mode
* with 16-bit addressing and 16-bit data. CS has some value
Expand Down
3 changes: 0 additions & 3 deletions arch/x86/kernel/trampoline_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
* trampoline page to make our stack and everything else
* 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
* with 16-bit addressing and 16-bit data. CS has some value
* and IP is zero. Thus, data addresses need to be absolute
Expand Down

0 comments on commit 94a8a7a

Please sign in to comment.