From 758af97c3b4b3cfa65ed6e1fa1c94796bac78e9e Mon Sep 17 00:00:00 2001 From: Patrick Caulfield Date: Thu, 13 Sep 2001 09:03:42 +0000 Subject: [PATCH] Set DEFAULT_ALIGNMENT to 8 for Alpha. If you think this is wasteful on other arches then stick some ifdefs in. --- lib/mm/pool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mm/pool.c b/lib/mm/pool.c index 03e0e2cea..ec439e6ee 100644 --- a/lib/mm/pool.c +++ b/lib/mm/pool.c @@ -42,8 +42,8 @@ struct pool { void _align_chunk(struct chunk *c, unsigned alignment); struct chunk *_new_chunk(struct pool *p, size_t s); -/* FIXME: alignment will need to be 4 to work on SUN boxes */ -#define DEFAULT_ALIGNMENT 4 +/* Alignment needs to be 8 for Alpha */ +#define DEFAULT_ALIGNMENT 8 struct pool *create_pool(size_t chunk_hint) {