Re: [PATCH -tip v2 1/2] x86/boot: Remove semicolon from "rep" prefixes

From: Andrew Cooper
Date: Fri Apr 18 2025 - 06:24:17 EST


On 18/04/2025 8:13 am, Uros Bizjak wrote:
> diff --git a/arch/x86/boot/video.c b/arch/x86/boot/video.c
> index f2e96905b3fe..0641c8c46aee 100644
> --- a/arch/x86/boot/video.c
> +++ b/arch/x86/boot/video.c
> @@ -292,7 +292,7 @@ static void restore_screen(void)
> "shrw %%cx ; "
> "jnc 1f ; "
> "stosw \n\t"
> - "1: rep;stosl ; "
> + "1: rep stosl ; "
> "popw %%es"

Doesn't this one still need a separator between STOSL and POPW ?

~Andrew