aboutsummaryrefslogtreecommitdiff
path: root/lib/libthr
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2009-04-19 23:02:50 +0000
committerRobert Watson <rwatson@FreeBSD.org>2009-04-19 23:02:50 +0000
commitd1f2f1c3f3e9e3ce60528824509b42c1a9424b70 (patch)
tree71743c87d735f1386a3e801421183691a54986f8 /lib/libthr
parent072b8f8ea7396432be1dd0c61f0aacf0c59bdbb3 (diff)
downloadsrc-d1f2f1c3f3e9e3ce60528824509b42c1a9424b70.tar.gz
src-d1f2f1c3f3e9e3ce60528824509b42c1a9424b70.zip
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
Notes
Notes: svn path=/head/; revision=191291
Diffstat (limited to 'lib/libthr')
-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 bd64381b7776..7e263401854c 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 *);