From: Po Lu Date: Sat, 10 Jun 2023 08:32:00 +0000 (+0800) Subject: ; Update Android port X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3fcaad585ad4cb071401f3d1a9890547d24a966c;p=emacs.git ; Update Android port * src/keyboard.c (handle_input_available_signal): Don't generate instructions not available in arm mode. --- 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;