summaryrefslogtreecommitdiff
path: root/libitm
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-04-02 17:49:36 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-04-02 17:49:36 +0000
commitb28b448fdb7865fc64094a799dd396f0d732a7c2 (patch)
treeaf7d67007a5de62af628f32bbe3a9006c9d7bb43 /libitm
parentf959b4159a6c224f16e9020fe89e92083d0ed3b4 (diff)
downloadgcc-b28b448fdb7865fc64094a799dd396f0d732a7c2.tar.gz
libitm: Remove unused PAGE_SIZE macros
* config/alpha/target.h (PAGE_SIZE, FIXED_PAGE_SIZE): Remove. * config/arm/target.h, config/sh/target.h: Likewise. * config/sparc/target.h, config/x86/target.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209027 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm')
-rw-r--r--libitm/ChangeLog6
-rw-r--r--libitm/config/alpha/target.h4
-rw-r--r--libitm/config/arm/target.h4
-rw-r--r--libitm/config/sh/target.h4
-rw-r--r--libitm/config/sparc/target.h4
-rw-r--r--libitm/config/x86/target.h4
6 files changed, 6 insertions, 20 deletions
diff --git a/libitm/ChangeLog b/libitm/ChangeLog
index 1ce194ec934..6aca5d2ac38 100644
--- a/libitm/ChangeLog
+++ b/libitm/ChangeLog
@@ -1,3 +1,9 @@
+2013-04-02 Richard Henderson <rth@redhat.com>
+
+ * config/alpha/target.h (PAGE_SIZE, FIXED_PAGE_SIZE): Remove.
+ * config/arm/target.h, config/sh/target.h: Likewise.
+ * config/sparc/target.h, config/x86/target.h: Likewise.
+
2014-03-26 Jakub Jelinek <jakub@redhat.com>
* config/linux/futex_bits.h: Include errno.h.
diff --git a/libitm/config/alpha/target.h b/libitm/config/alpha/target.h
index 5e23c532860..e33f1e1ac37 100644
--- a/libitm/config/alpha/target.h
+++ b/libitm/config/alpha/target.h
@@ -32,10 +32,6 @@ typedef struct gtm_jmpbuf
unsigned long f[8];
} gtm_jmpbuf;
-/* Alpha generally uses a fixed page size of 8K. */
-#define PAGE_SIZE 8192
-#define FIXED_PAGE_SIZE 1
-
/* The size of one line in hardware caches (in bytes). */
#define HW_CACHELINE_SIZE 64
diff --git a/libitm/config/arm/target.h b/libitm/config/arm/target.h
index 6a1458e5131..a909e140ecf 100644
--- a/libitm/config/arm/target.h
+++ b/libitm/config/arm/target.h
@@ -33,10 +33,6 @@ typedef struct gtm_jmpbuf
unsigned long pc;
} gtm_jmpbuf;
-/* ARM generally uses a fixed page size of 4K. */
-#define PAGE_SIZE 4096
-#define FIXED_PAGE_SIZE 1
-
/* ??? The size of one line in hardware caches (in bytes). */
#define HW_CACHELINE_SIZE 64
diff --git a/libitm/config/sh/target.h b/libitm/config/sh/target.h
index 6f6ae5f765d..fbc804c33c2 100644
--- a/libitm/config/sh/target.h
+++ b/libitm/config/sh/target.h
@@ -35,10 +35,6 @@ typedef struct gtm_jmpbuf
#endif
} gtm_jmpbuf;
-/* SH generally uses a fixed page size of 4K. */
-#define PAGE_SIZE 4096
-#define FIXED_PAGE_SIZE 1
-
/* ??? The size of one line in hardware caches (in bytes). */
#define HW_CACHELINE_SIZE 32
diff --git a/libitm/config/sparc/target.h b/libitm/config/sparc/target.h
index b127fa45040..309dac1b36d 100644
--- a/libitm/config/sparc/target.h
+++ b/libitm/config/sparc/target.h
@@ -29,10 +29,6 @@ typedef struct gtm_jmpbuf
unsigned long pc;
} gtm_jmpbuf;
-/* UltraSPARC processors generally use a fixed page size of 8K. */
-#define PAGE_SIZE 8192
-#define FIXED_PAGE_SIZE 1
-
/* The size of one line in hardware caches (in bytes). We use the primary
cache line size documented for the UltraSPARC T1/T2. */
#define HW_CACHELINE_SIZE 16
diff --git a/libitm/config/x86/target.h b/libitm/config/x86/target.h
index 392db48198b..78a58e7ecf1 100644
--- a/libitm/config/x86/target.h
+++ b/libitm/config/x86/target.h
@@ -52,10 +52,6 @@ typedef struct gtm_jmpbuf
/* x86 doesn't require strict alignment for the basic types. */
#define STRICT_ALIGNMENT 0
-/* x86 uses a fixed page size of 4K. */
-#define PAGE_SIZE 4096
-#define FIXED_PAGE_SIZE 1
-
/* The size of one line in hardware caches (in bytes). */
#define HW_CACHELINE_SIZE 64