Re: [PATCH] Fix triplefault on x86-64 bootup

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

 



On Sun, Aug 12, 2007 at 10:12:52AM +0200, Petr Vandrovec wrote:
> --- a/arch/x86_64/lib/memcpy.S
> +++ b/arch/x86_64/lib/memcpy.S
> @@ -124,6 +124,8 @@ ENDPROC(__memcpy)
>  	.quad memcpy
>  	.quad 1b
>  	.byte X86_FEATURE_REP_GOOD
> -	.byte .Lfinal - memcpy
> +	/* Replace only beginning, memcpy is used to apply alternatives, so it
> +	 * is silly to overwrite itself with nops - reboot is only outcome... */
> +	.byte 2b - 1b
>  	.byte 2b - 1b
>  	.previous

Thanks, this fixes E6400 reboots on bootup here.

-
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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux