Re: [PATCH -tip v2 1/2] x86/boot: Remove semicolon from "rep" prefixes
From: Andrew Cooper
Date: Fri Apr 18 2025 - 07:20:36 EST
On 18/04/2025 12:15 pm, Uros Bizjak wrote:
> On Fri, Apr 18, 2025 at 12:24 PM Andrew Cooper
> <andrew.cooper3@xxxxxxxxxx> wrote:
>> 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 ?
> ";" is a separator as well.
Yes, it is. I've clearly not had enough coffee yet. Sorry for the noise.
~Andrew