From 9d69b9825b1e9067096d8f960b383abfcbfec654 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 19 Apr 2009 23:02:50 +0000 Subject: 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 --- lib/libthr/thread/thr_rtld.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/libthr/thread/thr_rtld.c') 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 *); -- cgit v1.1