r300/compiler: align memory allocations to 8-bytes

Eliminates unaligned accesses on strict architectures. Spotted by Jay
Estabrook.

Signed-off-by: Matt Turner <mattst88@gmail.com>

NOTE: This is a candidate for the 7.10 branch.
(cherry picked from commit 86852236a3)
This commit is contained in:
Matt Turner 2011-05-09 00:17:05 -04:00 committed by Marek Olšák
parent 348779a1fc
commit b6bca28113

View file

@ -28,7 +28,7 @@
#define POOL_LARGE_ALLOC 4096
#define POOL_ALIGN 4
#define POOL_ALIGN 8
struct memory_block {