#include "commands/tablespace.h"
#include "miscadmin.h"
#include "pgstat.h"
+#include "port/atomics.h"
#include "postmaster/bgwriter.h"
#include "postmaster/walwriter.h"
#include "postmaster/startup.h"
#include "replication/snapbuild.h"
#include "replication/walreceiver.h"
#include "replication/walsender.h"
-#include "storage/barrier.h"
#include "storage/bufmgr.h"
#include "storage/fd.h"
#include "storage/ipc.h"
#include "bootstrap/bootstrap.h"
#include "common/username.h"
+#include "port/atomics.h"
#include "postmaster/postmaster.h"
-#include "storage/barrier.h"
#include "storage/s_lock.h"
#include "storage/spin.h"
#include "tcop/tcopprot.h"
#include "libpq/pqsignal.h"
#include "miscadmin.h"
#include "pgstat.h"
+#include "port/atomics.h"
#include "postmaster/bgworker_internals.h"
#include "postmaster/postmaster.h"
-#include "storage/barrier.h"
#include "storage/dsm.h"
#include "storage/ipc.h"
#include "storage/latch.h"
#include "miscadmin.h"
#include "pgstat.h"
+#include "port/atomics.h"
#include "portability/instr_time.h"
#include "postmaster/postmaster.h"
-#include "storage/barrier.h"
#include "storage/latch.h"
#include "storage/pmsignal.h"
#include "storage/shmem.h"
#include "postgres.h"
-#include "storage/barrier.h"
+#include "port/atomics.h"
#include "storage/shm_toc.h"
#include "storage/spin.h"
#include <unistd.h>
#include "storage/s_lock.h"
-#include "storage/barrier.h"
+#include "port/atomics.h"
#define MIN_SPINS_PER_DELAY 10
#include "datatype/timestamp.h"
#include "fmgr.h"
#include "libpq/pqcomm.h"
+#include "port/atomics.h"
#include "portability/instr_time.h"
#include "postmaster/pgarch.h"
-#include "storage/barrier.h"
#include "storage/proc.h"
#include "utils/hsearch.h"
#include "utils/relcache.h"
+++ /dev/null
-/*-------------------------------------------------------------------------
- *
- * barrier.h
- * Memory barrier operations.
- *
- * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
- * Portions Copyright (c) 1994, Regents of the University of California
- *
- * src/include/storage/barrier.h
- *
- *-------------------------------------------------------------------------
- */
-#ifndef BARRIER_H
-#define BARRIER_H
-
-/*
- * This used to be a separate file, full of compiler/architecture
- * dependent defines, but it's not included in the atomics.h
- * infrastructure and just kept for backward compatibility.
- */
-#include "port/atomics.h"
-
-#endif /* BARRIER_H */