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:
parent
1476903a5e
commit
758af97c3b
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user