emacs-diffs
[Top][All Lists]
Advanced

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

feature/android 3fcaad585ad: ; Update Android port


From: Po Lu
Subject: feature/android 3fcaad585ad: ; Update Android port
Date: Sat, 10 Jun 2023 04:32:32 -0400 (EDT)

branch: feature/android
commit 3fcaad585ad4cb071401f3d1a9890547d24a966c
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    ; Update Android port
    
    * src/keyboard.c (handle_input_available_signal): Don't generate
    instructions not available in arm mode.
---
 src/keyboard.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/keyboard.c b/src/keyboard.c
index eea37fa833f..169756d9f2f 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -7990,11 +7990,11 @@ handle_input_available_signal (int sig)
   /* Make all writes from the Android UI thread visible.  If
      `android_urgent_query' has been set, preceding writes to query
      related variables should become observable here on as well.  */
-#if defined __aarch64__ || defined __arm__
+#if defined __aarch64__
   asm ("dmb ishst");
-#else /* defined __aarch64__ || defined __arm__ */
+#else /* !defined __aarch64__ */
   __atomic_thread_fence (__ATOMIC_SEQ_CST);
-#endif /* !defined __aarch64__ && !defined __arm__ */
+#endif /* defined __aarch64__ */
 #endif /* HAVE_ANDROID && !ANDROID_STUBIFY */
   pending_signals = true;
 



reply via email to

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