commit | 69ae517541ed5ab7d4fdcd8f82a9b8bd949df347 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Fri Dec 14 20:39:16 2007 -0800 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Dec 14 20:39:16 2007 -0800 |
tree | 0285db08bcf3f2b9f1f719a63b22691a4de4b3f4 | |
parent | 896c0535afe2f00683f7d4e8171fad7ec156f16f [diff] |
fast-import: fix unalinged allocation and access The specialized pool allocator fast-import uses aligned objects on the size of a pointer, which was not sufficient at least on Sparc. Instead, make the alignment for objects of type unitmax_t. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>