summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/ppu/cell_spu.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-10-15 14:18:51 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-10-15 14:18:51 -0600
commit67f615681c569264eab1bc901473c86cfc54e480 (patch)
tree5ded76e30ad52f0800e21523a8f177384c852c49 /src/gallium/drivers/cell/ppu/cell_spu.h
parent0eb0b0a816764a323af7a8d2b5cb6792f886ce04 (diff)
cell: use CELL_MAX_SPUS consistently.
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_spu.h')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_spu.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_spu.h b/src/gallium/drivers/cell/ppu/cell_spu.h
index 3443331b01..2e965c6301 100644
--- a/src/gallium/drivers/cell/ppu/cell_spu.h
+++ b/src/gallium/drivers/cell/ppu/cell_spu.h
@@ -36,8 +36,6 @@
#include "cell_context.h"
-#define MAX_SPUS 8
-
/**
* Global vars, for now anyway.
*/
@@ -46,13 +44,13 @@ struct cell_global_info
/**
* SPU/SPE handles, etc
*/
- spe_context_ptr_t spe_contexts[MAX_SPUS];
- pthread_t spe_threads[MAX_SPUS];
+ spe_context_ptr_t spe_contexts[CELL_MAX_SPUS];
+ pthread_t spe_threads[CELL_MAX_SPUS];
/**
* Data sent to SPUs at start-up
*/
- struct cell_init_info inits[MAX_SPUS];
+ struct cell_init_info inits[CELL_MAX_SPUS];
};