summaryrefslogtreecommitdiffstats
path: root/src/spin.c
diff options
context:
space:
mode:
authorRyan Libby <rlibby@FreeBSD.org>2017-08-08 05:00:22 (GMT)
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-08-08 17:30:21 (GMT)
commit048c6679cd0ef1500d0609dce48fcd823d15d93b (patch)
tree5c59c73bb2de7e11b7f71560064241c4f784e608 /src/spin.c
parent1ab2ab294c8f29a6f314f3ff30fbf4cdb2f01af6 (diff)
downloadjemalloc-048c6679cd0ef1500d0609dce48fcd823d15d93b.zip
jemalloc-048c6679cd0ef1500d0609dce48fcd823d15d93b.tar.gz
jemalloc-048c6679cd0ef1500d0609dce48fcd823d15d93b.tar.bz2
Remove external linkage for spin_adaptive
The external linkage for spin_adaptive was not used, and the inline declaration of spin_adaptive that was used caused a probem on FreeBSD where CPU_SPINWAIT is implemented as a call to a static procedure for x86 architectures.
Diffstat (limited to 'src/spin.c')
-rw-r--r--src/spin.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/spin.c b/src/spin.c
deleted file mode 100644
index 24372c2..0000000
--- a/src/spin.c
+++ /dev/null
@@ -1,4 +0,0 @@
-#define JEMALLOC_SPIN_C_
-#include "jemalloc/internal/jemalloc_preamble.h"
-
-#include "jemalloc/internal/spin.h"