summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-04-19 23:02:50 +0000
committerrwatson <rwatson@FreeBSD.org>2009-04-19 23:02:50 +0000
commit9d69b9825b1e9067096d8f960b383abfcbfec654 (patch)
tree71743c87d735f1386a3e801421183691a54986f8 /lib
parent901df80bd6c9ba48f4bffb8142404a90874361d4 (diff)
downloadFreeBSD-src-9d69b9825b1e9067096d8f960b383abfcbfec654.zip
FreeBSD-src-9d69b9825b1e9067096d8f960b383abfcbfec654.tar.gz
Now that the kernel defines CACHE_LINE_SIZE in machine/param.h, use
that definition in the custom locking code for the run-time linker rather than local definitions. Pointed out by: tinderbox MFC after: 2 weeks
Diffstat (limited to 'lib')
-rw-r--r--lib/libthr/thread/thr_rtld.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libthr/thread/thr_rtld.c b/lib/libthr/thread/thr_rtld.c
index bd64381..7e26340 100644
--- a/lib/libthr/thread/thr_rtld.c
+++ b/lib/libthr/thread/thr_rtld.c
@@ -39,8 +39,6 @@
#undef errno
extern int errno;
-#define CACHE_LINE_SIZE 64
-
static int _thr_rtld_clr_flag(int);
static void *_thr_rtld_lock_create(void);
static void _thr_rtld_lock_destroy(void *);
OpenPOWER on IntegriCloud