rtasm: Compile only for GALLIUM_CELL.
authorMichal Krol <michal@tungstengraphics.com>
Wed, 12 Nov 2008 17:13:58 +0000 (18:13 +0100)
committerMichal Krol <michal@tungstengraphics.com>
Wed, 12 Nov 2008 17:13:58 +0000 (18:13 +0100)
src/gallium/auxiliary/rtasm/rtasm_ppc.c

index 6d11263be8fda011227573a61ea3fb20e8b526a6..5e7bc02ed3f32ca09b05da589578164cfce20b0c 100644 (file)
@@ -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 */