summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/rtasm
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-11-12 18:13:58 +0100
committerMichal Krol <michal@tungstengraphics.com>2008-11-12 18:13:58 +0100
commit8fee30064e35488bccf8e6e7478d56ca783ebac1 (patch)
tree318a0ac1bb56f8175c0dc7cee2df66e6d78f8d17 /src/gallium/auxiliary/rtasm
parent0ee92d6ed9c6aae47d990c9ac004034ded5003f1 (diff)
rtasm: Compile only for GALLIUM_CELL.
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 */