diff options
author | peter <peter@FreeBSD.org> | 2003-04-30 19:30:34 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-04-30 19:30:34 +0000 |
commit | 3ecb61f317655471a2ff928105adcd56ce37cdc3 (patch) | |
tree | 0991b75dcde4d2e0c1858d2652a1293edeaa9d42 /lib/libc | |
parent | 7b45e731ba60f535e358481c8a9e4304729421d5 (diff) | |
download | FreeBSD-src-3ecb61f317655471a2ff928105adcd56ce37cdc3.zip FreeBSD-src-3ecb61f317655471a2ff928105adcd56ce37cdc3.tar.gz |
Tell malloc.c that AMD64 uses the same pagesize as i386.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdlib/malloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c index 2f89030..68eccba 100644 --- a/lib/libc/stdlib/malloc.c +++ b/lib/libc/stdlib/malloc.c @@ -62,6 +62,10 @@ __FBSDID("$FreeBSD$"); # define malloc_pageshift 13U # define malloc_minsize 16U # endif +# if defined(__amd64__) +# define malloc_pageshift 12U +# define malloc_minsize 16U +# endif # if !defined(__NETBSD_SYSCALLS) # define HAS_UTRACE # endif |