On Tue, 22 Aug 2006 02:37:44 -0600 [email protected] (Eric W. Biederman) wrote: > > In long mode the %cs is largely a relic. However there are a few cases > like lret You mean iret? > + * jump. In addition we need to ensure %cs is set so we make this > + * a far return. > */ > movq initial_code(%rip),%rax > - jmp *%rax > + pushq $__KERNEL_CS > + pushq %rax > + lretq Ok merged thanks -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] x86_64: Reload CS when startup_64 is used.
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH] x86_64: Reload CS when startup_64 is used.
- References:
- [PATCH][RFC] x86_64: Reload CS when startup_64 is used.
- From: Magnus Damm <[email protected]>
- Re: [PATCH][RFC] x86_64: Reload CS when startup_64 is used.
- From: Magnus Damm <[email protected]>
- Re: [PATCH][RFC] x86_64: Reload CS when startup_64 is used.
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH][RFC] x86_64: Reload CS when startup_64 is used.
- From: Andi Kleen <[email protected]>
- [PATCH] x86_64: Reload CS when startup_64 is used.
- From: [email protected] (Eric W. Biederman)
- [PATCH][RFC] x86_64: Reload CS when startup_64 is used.
- Prev by Date: Re: [take12 0/3] kevent: Generic event handling mechanism.
- Next by Date: Re: [PATCH 7/7] CPU controller V1 - (temporary) cpuset interface
- Previous by thread: Re: [Fastboot] [PATCH] x86_64: Reload CS when startup_64 is used.
- Next by thread: Re: [PATCH] x86_64: Reload CS when startup_64 is used.
- Index(es):