summaryrefslogtreecommitdiff
path: root/src/gc/env
diff options
context:
space:
mode:
authorGleb Balykov <g.balykov@samsung.com>2021-06-28 21:41:50 +0300
committer조웅석/Common Platform Lab(SR)/Principal Engineer/삼성전자 <ws77.cho@samsung.com>2021-06-29 09:06:51 +0900
commit9b1e33323792c24f18072c0450b90d3f97985e9e (patch)
tree063d6ea1bb60682773787b588d279057102a00b5 /src/gc/env
parent01ce73cb2ebaa8d0e9d4025371849459a8e0ffd2 (diff)
downloadcoreclr-accepted/tizen/unified/20210629.130321.tar.gz
coreclr-accepted/tizen/unified/20210629.130321.tar.bz2
coreclr-accepted/tizen/unified/20210629.130321.zip
Diffstat (limited to 'src/gc/env')
-rw-r--r--src/gc/env/gcenv.base.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/gc/env/gcenv.base.h b/src/gc/env/gcenv.base.h
index 52b64eeeef..95c8143785 100644
--- a/src/gc/env/gcenv.base.h
+++ b/src/gc/env/gcenv.base.h
@@ -217,15 +217,10 @@ typedef DWORD (WINAPI *PTHREAD_START_ROUTINE)(void* lpThreadParameter);
#endif // defined(__i386__) || defined(__x86_64__)
-#ifdef __aarch64__
+#if defined(__arm__) || defined(__aarch64__)
#define YieldProcessor() asm volatile ("yield")
#define MemoryBarrier __sync_synchronize
-#endif // __aarch64__
-
-#ifdef __arm__
- #define YieldProcessor()
- #define MemoryBarrier __sync_synchronize
-#endif // __arm__
+#endif // __arm__ || __aarch64__
#endif // _MSC_VER