summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/rtasm
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/rtasm')
-rw-r--r--src/gallium/auxiliary/rtasm/rtasm_ppc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/rtasm/rtasm_ppc.c b/src/gallium/auxiliary/rtasm/rtasm_ppc.c
index 6d11263be8..5e7bc02ed3 100644
--- a/src/gallium/auxiliary/rtasm/rtasm_ppc.c
+++ b/src/gallium/auxiliary/rtasm/rtasm_ppc.c
@@ -42,6 +42,8 @@
#include "rtasm_ppc.h"
+#ifdef GALLIUM_CELL
+
void
ppc_init_func(struct ppc_function *p)
{
@@ -957,3 +959,5 @@ ppc_return(struct ppc_function *p)
{
ppc_bclr(p, BRANCH_COND_ALWAYS, BRANCH_HINT_SUB_RETURN, 0);
}
+
+#endif /* GALLIUM_CELL */