aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 7eea5fabaf5..9b938bda740 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -408,7 +408,7 @@ typedef struct
typedef union WALInsertLockPadded
{
WALInsertLock l;
- char pad[CACHE_LINE_SIZE];
+ char pad[PG_CACHE_LINE_SIZE];
} WALInsertLockPadded;
/*
@@ -435,7 +435,7 @@ typedef struct XLogCtlInsert
* read on every WAL insertion, but updated rarely, and we don't want
* those reads to steal the cache line containing Curr/PrevBytePos.
*/
- char pad[CACHE_LINE_SIZE];
+ char pad[PG_CACHE_LINE_SIZE];
/*
* fullPageWrites is the master copy used by all backends to determine