Commit c696dbcb authored by Tollef Fog Heen's avatar Tollef Fog Heen

Merge r4387: jemalloc portability fixes for sparc and s390



git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@4410 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent a08264ec
......@@ -243,7 +243,7 @@
# define SIZEOF_PTR_2POW 3
# define NO_TLS
#endif
#ifdef __sparc64__
#ifdef __sparc__
# define PAGESIZE_2POW 13
# define QUANTUM_2POW 4
# define SIZEOF_PTR_2POW 3
......@@ -272,6 +272,11 @@
# define QUANTUM_2POW 4
# define SIZEOF_PTR_2POW 2
#endif
#ifdef __s390x__
# define PAGESIZE_2POW 12
# define QUANTUM_2POW 4
# define SIZEOF_PTR_2POW 3
#endif
#define QUANTUM ((size_t)(1U << QUANTUM_2POW))
#define QUANTUM_MASK (QUANTUM - 1)
......
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