Damien Zammit, le mer. 07 janv. 2026 03:08:11 +0000, a ecrit:
> ---
>  x86_64/locore.S | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/x86_64/locore.S b/x86_64/locore.S
> index b822c167..5043cf7a 100644
> --- a/x86_64/locore.S
> +++ b/x86_64/locore.S
> @@ -164,8 +164,8 @@
>  #endif
>  
>  #if NCPUS > 1
> -#define SET_KERNEL_SEGMENTS(reg)                \
> -     ud2             /* TODO: use swapgs or similar */
> +#define SET_KERNEL_SEGMENTS(reg)
> +#warning TODO: use swapgs or similar

Better squash it with the swapgs patch, of course :)

>  #else // NCPUS > 1
>  #ifdef USER32
>  #define SET_KERNEL_SEGMENTS(reg)            \
> -- 
> 2.45.2
> 
> 
> 

Reply via email to