Add jemalloc information for the SH architecture

Thanks to Nobuhiro Iwamatsu for the patch, at
http://bugs.debian.org/565239

git-svn-id: http://www.varnish-cache.org/svn/trunk@4457 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 0d7faa4e
......@@ -278,6 +278,12 @@
# define QUANTUM_2POW 4
# define SIZEOF_PTR_2POW 3
#endif
#ifdef __sh__
# define PAGESIZE_2POW 12
# define QUANTUM_2POW 3
# define SIZEOF_PTR_2POW 2
# define NO_TLS
#endif
#define QUANTUM ((size_t)(1U << QUANTUM_2POW))
#define QUANTUM_MASK (QUANTUM - 1)
......
......@@ -264,6 +264,12 @@ __FBSDID("$FreeBSD: head/lib/libc/stdlib/malloc.c 182225 2008-08-27 02:00:53Z ja
# define QUANTUM_2POW 4
# define SIZEOF_PTR_2POW 2
#endif
#ifdef __sh__
# define PAGESIZE_2POW 12
# define QUANTUM_2POW 3
# define SIZEOF_PTR_2POW 2
# define NO_TLS
#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