aboutsummaryrefslogtreecommitdiffstats
path: root/util/system
diff options
context:
space:
mode:
authorkakabba <kakabba@yandex-team.ru>2022-02-10 16:46:04 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:04 +0300
commitc8e3995898c443e78266f7420aac5fb3da15d413 (patch)
treea530e068cc107e227deccc80722204db63a4d75d /util/system
parent110a978b66fe6c0916572df51cfead2a9b647174 (diff)
downloadydb-c8e3995898c443e78266f7420aac5fb3da15d413.tar.gz
Restoring authorship annotation for <kakabba@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system')
-rw-r--r--util/system/context_aarch64.S24
-rw-r--r--util/system/platform.h4
-rw-r--r--util/system/tls.h2
-rw-r--r--util/system/types.h8
4 files changed, 19 insertions, 19 deletions
diff --git a/util/system/context_aarch64.S b/util/system/context_aarch64.S
index 0b2ef4e4a6..e88f6d150f 100644
--- a/util/system/context_aarch64.S
+++ b/util/system/context_aarch64.S
@@ -1,12 +1,12 @@
.p2align 2
-#if !(defined __darwin__) && !(defined __arm64__)
+#if !(defined __darwin__) && !(defined __arm64__)
.global __mysetjmp
.type __mysetjmp,@function
-__mysetjmp:
-#else
-.global ___mysetjmp
-___mysetjmp:
-#endif
+__mysetjmp:
+#else
+.global ___mysetjmp
+___mysetjmp:
+#endif
// IHI0055B_aapcs64.pdf 5.1.1, 5.1.2 callee saved registers
stp x19, x20, [x0,#0]
stp x21, x22, [x0,#16]
@@ -24,14 +24,14 @@ ___mysetjmp:
ret
.p2align 2
-#if !(defined __darwin__) && !(defined __arm64__)
+#if !(defined __darwin__) && !(defined __arm64__)
.global __mylongjmp
.type __mylongjump,@function
-__mylongjmp:
-#else
-.global ___mylongjmp
-___mylongjmp:
-#endif
+__mylongjmp:
+#else
+.global ___mylongjmp
+___mylongjmp:
+#endif
// IHI0055B_aapcs64.pdf 5.1.1, 5.1.2 callee saved registers
ldp x19, x20, [x0,#0]
ldp x21, x22, [x0,#16]
diff --git a/util/system/platform.h b/util/system/platform.h
index 58f310ab34..bfa68216a4 100644
--- a/util/system/platform.h
+++ b/util/system/platform.h
@@ -93,8 +93,8 @@
#if defined(__i386__) || defined(_M_IX86)
#define _i386_
-#endif
-
+#endif
+
#if defined(__ia64__) || defined(_M_IA64)
#define _ia64_
#endif
diff --git a/util/system/tls.h b/util/system/tls.h
index 3c4f56dbeb..8f5efdfe34 100644
--- a/util/system/tls.h
+++ b/util/system/tls.h
@@ -9,7 +9,7 @@
#if defined(_darwin_)
#define Y_DISABLE_THRKEY_OPTIMIZATION
-#endif
+#endif
#if defined(_arm_) && defined(_linux_)
#define Y_DISABLE_THRKEY_OPTIMIZATION
diff --git a/util/system/types.h b/util/system/types.h
index 12e68a6060..66064082ac 100644
--- a/util/system/types.h
+++ b/util/system/types.h
@@ -22,13 +22,13 @@ typedef uint32_t ui32;
typedef int32_t i32;
#endif
-#if defined(_darwin_) && defined(_64_)
-typedef unsigned long ui64;
+#if defined(_darwin_) && defined(_64_)
+typedef unsigned long ui64;
typedef long i64;
-#else
+#else
typedef uint64_t ui64;
typedef int64_t i64;
-#endif
+#endif
#define LL(number) INT64_C(number)
#define ULL(number) UINT64_C(number)