diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-04-19 23:02:50 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-04-19 23:02:50 +0000 |
commit | 9d69b9825b1e9067096d8f960b383abfcbfec654 (patch) | |
tree | 71743c87d735f1386a3e801421183691a54986f8 /libexec/rtld-elf | |
parent | 901df80bd6c9ba48f4bffb8142404a90874361d4 (diff) | |
download | FreeBSD-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 'libexec/rtld-elf')
-rw-r--r-- | libexec/rtld-elf/amd64/rtld_machdep.h | 2 | ||||
-rw-r--r-- | libexec/rtld-elf/arm/rtld_machdep.h | 2 | ||||
-rw-r--r-- | libexec/rtld-elf/i386/rtld_machdep.h | 2 | ||||
-rw-r--r-- | libexec/rtld-elf/ia64/rtld_machdep.h | 2 | ||||
-rw-r--r-- | libexec/rtld-elf/mips/rtld_machdep.h | 2 | ||||
-rw-r--r-- | libexec/rtld-elf/powerpc/rtld_machdep.h | 2 | ||||
-rw-r--r-- | libexec/rtld-elf/sparc64/rtld_machdep.h | 2 |
7 files changed, 0 insertions, 14 deletions
diff --git a/libexec/rtld-elf/amd64/rtld_machdep.h b/libexec/rtld-elf/amd64/rtld_machdep.h index c688eb1..301eb0c 100644 --- a/libexec/rtld-elf/amd64/rtld_machdep.h +++ b/libexec/rtld-elf/amd64/rtld_machdep.h @@ -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. */ diff --git a/libexec/rtld-elf/arm/rtld_machdep.h b/libexec/rtld-elf/arm/rtld_machdep.h index dd046a9..8364afa 100644 --- a/libexec/rtld-elf/arm/rtld_machdep.h +++ b/libexec/rtld-elf/arm/rtld_machdep.h @@ -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. */ diff --git a/libexec/rtld-elf/i386/rtld_machdep.h b/libexec/rtld-elf/i386/rtld_machdep.h index cbb13eb..9b3dcdf 100644 --- a/libexec/rtld-elf/i386/rtld_machdep.h +++ b/libexec/rtld-elf/i386/rtld_machdep.h @@ -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. */ diff --git a/libexec/rtld-elf/ia64/rtld_machdep.h b/libexec/rtld-elf/ia64/rtld_machdep.h index 5cb8bc2..5af9602 100644 --- a/libexec/rtld-elf/ia64/rtld_machdep.h +++ b/libexec/rtld-elf/ia64/rtld_machdep.h @@ -32,8 +32,6 @@ #include <sys/types.h> #include <machine/atomic.h> -#define CACHE_LINE_SIZE 128 - /* * Macros for cracking ia64 function pointers. */ diff --git a/libexec/rtld-elf/mips/rtld_machdep.h b/libexec/rtld-elf/mips/rtld_machdep.h index dd046a9..8364afa 100644 --- a/libexec/rtld-elf/mips/rtld_machdep.h +++ b/libexec/rtld-elf/mips/rtld_machdep.h @@ -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. */ diff --git a/libexec/rtld-elf/powerpc/rtld_machdep.h b/libexec/rtld-elf/powerpc/rtld_machdep.h index 38e105d..f5f21a4 100644 --- a/libexec/rtld-elf/powerpc/rtld_machdep.h +++ b/libexec/rtld-elf/powerpc/rtld_machdep.h @@ -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. */ diff --git a/libexec/rtld-elf/sparc64/rtld_machdep.h b/libexec/rtld-elf/sparc64/rtld_machdep.h index 1556758..a161071 100644 --- a/libexec/rtld-elf/sparc64/rtld_machdep.h +++ b/libexec/rtld-elf/sparc64/rtld_machdep.h @@ -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. */ |