Commit 84c2f4b0 by Richard Henderson Committed by Richard Henderson

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.

From-SVN: r209027
parent 690c229f
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.
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment