summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/spu/spu_funcs.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-01-10 12:58:11 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-01-12 12:11:04 +0000
commit86bfe974b880dc2cbf40b91ba0fde34e8a9c756e (patch)
tree43f6555b51e472c4188a06c2eb2ec09ccd58ebac /src/gallium/drivers/cell/spu/spu_funcs.c
parentce1c493ff8fad4b62e2b66f06636ac6560a6e0ad (diff)
gallium: Generalize the alignment macros to other compilers and any alignment.
Diffstat (limited to 'src/gallium/drivers/cell/spu/spu_funcs.c')
-rw-r--r--src/gallium/drivers/cell/spu/spu_funcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_funcs.c b/src/gallium/drivers/cell/spu/spu_funcs.c
index ff3d609d25..a4e560b0a5 100644
--- a/src/gallium/drivers/cell/spu/spu_funcs.c
+++ b/src/gallium/drivers/cell/spu/spu_funcs.c
@@ -144,7 +144,7 @@ export_func(struct cell_spu_function_info *spu_functions,
void
return_function_info(void)
{
- struct cell_spu_function_info funcs ALIGN16_ATTRIB;
+ PIPE_ALIGN_VAR(16, struct cell_spu_function_info funcs);
int tag = TAG_MISC;
ASSERT(sizeof(funcs) == 256); /* must be multiple of 16 bytes */