1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Set DEFAULT_ALIGNMENT to 8 for Alpha.

If you think this is wasteful on other arches then stick some ifdefs in.
This commit is contained in:
Patrick Caulfield 2001-09-13 09:03:42 +00:00
parent 1476903a5e
commit 758af97c3b

View File

@ -42,8 +42,8 @@ struct pool {
void _align_chunk(struct chunk *c, unsigned alignment); void _align_chunk(struct chunk *c, unsigned alignment);
struct chunk *_new_chunk(struct pool *p, size_t s); struct chunk *_new_chunk(struct pool *p, size_t s);
/* FIXME: alignment will need to be 4 to work on SUN boxes */ /* Alignment needs to be 8 for Alpha */
#define DEFAULT_ALIGNMENT 4 #define DEFAULT_ALIGNMENT 8
struct pool *create_pool(size_t chunk_hint) struct pool *create_pool(size_t chunk_hint)
{ {