author | David S. Miller <davem@davemloft.net> | |
Sat, 15 Dec 2007 04:39:16 +0000 (20:39 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 15 Dec 2007 04:39:16 +0000 (20:39 -0800) | ||
commit | 69ae517541ed5ab7d4fdcd8f82a9b8bd949df347 | |
tree | 0285db08bcf3f2b9f1f719a63b22691a4de4b3f4 | tree | snapshot |
parent | 896c0535afe2f00683f7d4e8171fad7ec156f16f | commit | 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>
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>
fast-import.c | diff | blob | history |