bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 2/6 gnumach] i386/cpuboot: Dont use CPU_NUMBER_NO_STACK() ear


From: Samuel Thibault
Subject: Re: [PATCH 2/6 gnumach] i386/cpuboot: Dont use CPU_NUMBER_NO_STACK() early
Date: Mon, 9 Dec 2024 22:26:14 +0100

Applied, thanks!

Damien Zammit via Bug reports for the GNU Hurd, le lun. 09 déc. 2024 12:17:30 
+0000, a ecrit:
> Since we just set up the gs segment, we can use
> CPU_NUMBER instead of CPU_NUMBER_NO_STACK.
> ---
>  i386/i386/cpuboot.S | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/i386/i386/cpuboot.S b/i386/i386/cpuboot.S
> index 9ac86845..09855864 100644
> --- a/i386/i386/cpuboot.S
> +++ b/i386/i386/cpuboot.S
> @@ -205,7 +205,7 @@ apboot_jmp_offset:
>       wrmsr
>  
>       /* Load int_stack_top[cpu] -> esp */
> -     CPU_NUMBER_NO_STACK(%edx)
> +     CPU_NUMBER(%edx)
>       movl    CX(EXT(int_stack_top), %edx), %esp
>  
>       /* Ensure stack alignment */
> -- 
> 2.45.2
> 
> 
> 

-- 
Samuel
 > Voici mon problème, j'ai deux PCs relies par des cartes ethernet, 
 > configures avec le protocole PPP.
 -+- Romain in Guide du linuxien pervers - "Ils sont fous ces romains !" -+-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]