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
This commit is contained in:
Robert Watson 2009-04-19 23:02:50 +00:00
parent 072b8f8ea7
commit d1f2f1c3f3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=191291
8 changed files with 0 additions and 16 deletions

View File

@ -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 *);

View File

@ -32,8 +32,6 @@
#include <sys/types.h>
#include <machine/atomic.h>
#define CACHE_LINE_SIZE 64
struct Struct_Obj_Entry;
/* Return the address of the .dynamic section in the dynamic linker. */

View File

@ -32,8 +32,6 @@
#include <sys/types.h>
#include <machine/atomic.h>
#define CACHE_LINE_SIZE 32
struct Struct_Obj_Entry;
/* Return the address of the .dynamic section in the dynamic linker. */

View File

@ -32,8 +32,6 @@
#include <sys/types.h>
#include <machine/atomic.h>
#define CACHE_LINE_SIZE 32
struct Struct_Obj_Entry;
/* Return the address of the .dynamic section in the dynamic linker. */

View File

@ -32,8 +32,6 @@
#include <sys/types.h>
#include <machine/atomic.h>
#define CACHE_LINE_SIZE 128
/*
* Macros for cracking ia64 function pointers.
*/

View File

@ -32,8 +32,6 @@
#include <sys/types.h>
#include <machine/atomic.h>
#define CACHE_LINE_SIZE 32
struct Struct_Obj_Entry;
/* Return the address of the .dynamic section in the dynamic linker. */

View File

@ -32,8 +32,6 @@
#include <sys/types.h>
#include <machine/atomic.h>
#define CACHE_LINE_SIZE 32
struct Struct_Obj_Entry;
/* Return the address of the .dynamic section in the dynamic linker. */

View File

@ -32,8 +32,6 @@
#include <sys/types.h>
#include <machine/atomic.h>
#define CACHE_LINE_SIZE 128
struct Struct_Obj_Entry;
/* Return the address of the .dynamic section in the dynamic linker. */