Re: [patch 2/2] x86: lds - Use THREAD_SIZE instead of numeric constant

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: H. Peter Anvin <hpa@...>
Cc: Sam Ravnborg <sam@...>, <ak@...>, <mingo@...>, <tglx@...>, <linux-kernel@...>
Date: Sunday, February 17, 2008 - 4:06 pm

[H. Peter Anvin - Sun, Feb 17, 2008 at 11:48:58AM -0800]

Thanks Peter for comments. Peter could you clarify for me a bit
more on the string:

x86/kernel/head_32.S:339

	/* Set up the stack pointer */
	lss stack_start,%esp

but stack_start is defined as head_32.S:647

.data
ENTRY(stack_start)
	.long init_thread_union+THREAD_SIZE

so stack_start *must* be aligned with THREAD_SIZE in vmlinux.lds
at compiling time. There is no PDA at this booting time. Am I wrong?
If you're too busy - just reply me like "Read the code" ;)

		- Cyrill -
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 2/2] x86: lds - Use THREAD_SIZE instead of numeri..., Cyrill Gorcunov, (Sun Feb 17, 4:06 pm)
Re: [patch 2/2] x86: lds - Use THREAD_SIZE instead of , Andi Kleen, (Mon Feb 18, 10:27 am)