Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdlib OR1K support
details: https://anonhg.NetBSD.org/src/rev/b4f3cde8ce83
branches: trunk
changeset: 331988:b4f3cde8ce83
user: matt <matt%NetBSD.org@localhost>
date: Wed Sep 03 19:29:40 2014 +0000
description:
OR1K support
diffstat:
lib/libc/stdlib/jemalloc.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 8054944a278c -r b4f3cde8ce83 lib/libc/stdlib/jemalloc.c
--- a/lib/libc/stdlib/jemalloc.c Wed Sep 03 19:29:14 2014 +0000
+++ b/lib/libc/stdlib/jemalloc.c Wed Sep 03 19:29:40 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: jemalloc.c,v 1.34 2014/08/10 05:57:31 matt Exp $ */
+/* $NetBSD: jemalloc.c,v 1.35 2014/09/03 19:29:40 matt Exp $ */
/*-
* Copyright (C) 2006,2007 Jason Evans <jasone%FreeBSD.org@localhost>.
@@ -118,7 +118,7 @@
#include <sys/cdefs.h>
/* __FBSDID("$FreeBSD: src/lib/libc/stdlib/malloc.c,v 1.147 2007/06/15 22:00:16 jasone Exp $"); */
-__RCSID("$NetBSD: jemalloc.c,v 1.34 2014/08/10 05:57:31 matt Exp $");
+__RCSID("$NetBSD: jemalloc.c,v 1.35 2014/09/03 19:29:40 matt Exp $");
#ifdef __FreeBSD__
#include "libc_private.h"
@@ -275,6 +275,11 @@
# define SIZEOF_PTR_2POW 2
# define USE_BRK
#endif
+#ifdef __or1k__
+# define QUANTUM_2POW_MIN 4
+# define SIZEOF_PTR_2POW 2
+# define USE_BRK
+#endif
#ifdef __vax__
# define QUANTUM_2POW_MIN 4
# define SIZEOF_PTR_2POW 2
Home |
Main Index |
Thread Index |
Old Index