PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
arch-arm.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * arch-arm.h
4  * Atomic operations considerations specific to ARM
5  *
6  * Portions Copyright (c) 2013-2017, PostgreSQL Global Development Group
7  *
8  * NOTES:
9  *
10  * src/include/port/atomics/arch-arm.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 
15 /* intentionally no include guards, should only be included by atomics.h */
16 #ifndef INSIDE_ATOMICS_H
17 #error "should be included via atomics.h"
18 #endif
19 
20 /*
21  * 64 bit atomics on arm are implemented using kernel fallbacks and might be
22  * slow, so disable entirely for now.
23  * XXX: We might want to change that at some point for AARCH64
24  */
25 #define PG_DISABLE_64_BIT_ATOMICS