You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2023/01/13 21:21:59 UTC
[kudu] branch master updated: Adds the missing atomic32 atomic64 typedefs for ppc64le
This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new 927c8a9c0 Adds the missing atomic32 atomic64 typedefs for ppc64le
927c8a9c0 is described below
commit 927c8a9c020447ceaec018f33ed1644ffaa2cb17
Author: harinreddy <hn...@us.ibm.com>
AuthorDate: Sun Sep 18 13:54:41 2022 -0500
Adds the missing atomic32 atomic64 typedefs for ppc64le
The following two typedefs are missing from this file for
the ppc64le architecture and this patch includes them.
typedef int32_t Atomic32;
typedef int64_t Atomic64;
Changes to be committed:
modified: src/kudu/gutil/atomicops-internals-powerpc.h
Change-Id: I48374fea9bf8b0cd8cc71ba61d22eda0982f7aae
Reviewed-on: http://gerrit.cloudera.org:8080/19005
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <al...@apache.org>
---
src/kudu/gutil/atomicops-internals-powerpc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/kudu/gutil/atomicops-internals-powerpc.h b/src/kudu/gutil/atomicops-internals-powerpc.h
index 68ca3ffad..7969c2c37 100644
--- a/src/kudu/gutil/atomicops-internals-powerpc.h
+++ b/src/kudu/gutil/atomicops-internals-powerpc.h
@@ -33,6 +33,7 @@
#define GUTIL_ATOMICOPS_INTERNALS_POWERPC_H_
typedef int32_t Atomic32;
+typedef int64_t Atomic64;
#define BASE_HAS_ATOMIC64 1 // Use only in tests and base/atomic*
@@ -46,6 +47,7 @@ typedef int32_t Atomic32;
namespace base {
namespace subtle {
+typedef int32_t Atomic32;
typedef int64_t Atomic64;
// sync vs. lwsync: