On Jun 24 11:02, Radek Barton via Cygwin-patches wrote:
> Hello.
> 
> Please, take my apology that I failed to properly validate 
> https://sourceware.org/pipermail/cygwin-patches/2025q2/013826.html
> 
> Radek
> 
> ---
> >From 565b1ee84e2882f7229cadaf11e4884349617040 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Radek=20Barto=C5=88?= <[email protected]>
> Date: Sat, 21 Jun 2025 22:47:58 +0200
> Subject: [PATCH] Cygwin: fix syntax error in cpu_relax.h for AArch64
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
> 
> Signed-off-by: Radek BartoĊˆ <[email protected]>
> ---
>  winsup/testsuite/winsup.api/pthread/cpu_relax.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/winsup/testsuite/winsup.api/pthread/cpu_relax.h 
> b/winsup/testsuite/winsup.api/pthread/cpu_relax.h
> index 71cec0b2b..c31ef8c05 100644
> --- a/winsup/testsuite/winsup.api/pthread/cpu_relax.h
> +++ b/winsup/testsuite/winsup.api/pthread/cpu_relax.h
> @@ -4,8 +4,8 @@
>  #if defined(__x86_64__) || defined(__i386__)  // Check for x86 architectures
>     #define CPU_RELAX() __asm__ volatile ("pause" :::)
>  #elif defined(__aarch64__) || defined(__arm__)  // Check for ARM 
> architectures
> -   #define CPU_RELAX() __asm__ volatile ("dmb ishst \
> -                                          yield" :::)
> +   #define CPU_RELAX() __asm__ volatile ("dmb ishst\n" \
> +                                         "yield" :::)
>  #else
>     #error unimplemented for this target
>  #endif
> -- 
> 2.49.0.vfs.0.4

Pushed.

Thanks,
Corinna

Reply via email to