Re: [PATCH unit-tests 1/3] Task stack pointer should point to the end of the page.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 11, 2011 at 03:30:05PM +0200, Gleb Natapov wrote:
> 
> Signed-off-by: Gleb Natapov <gleb@xxxxxxxxxx>
> ---
>  lib/x86/desc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/lib/x86/desc.c b/lib/x86/desc.c
> index 1bd4421..11bd2a2 100644
> --- a/lib/x86/desc.c
> +++ b/lib/x86/desc.c
> @@ -362,7 +362,7 @@ void setup_tss32(void)
>  		tss[i].cr3 = read_cr3();
>  		tss[i].ss0 = tss[i].ss1 = tss[i].ss2 = 0x10;
>  		tss[i].esp = tss[i].esp0 = tss[i].esp1 = tss[i].esp2 =
> -			(u32)tss_stack[i];
> +			(u32)tss_stack[i] + 4096;
>  		tss[i].cs = 0x08;
>  		tss[i].ds = tss[i].es = tss[i].fs = tss[i].gs = tss[i].ss = 0x10;
>  		tss[i].iomap_base = (u16)desc_size;
> -- 
> 1.7.2.3

Applied, thanks.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux