From: Michal Krol Date: Wed, 12 Nov 2008 17:13:58 +0000 (+0100) Subject: rtasm: Compile only for GALLIUM_CELL. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8fee30064e35488bccf8e6e7478d56ca783ebac1;p=mesa.git rtasm: Compile only for GALLIUM_CELL. --- diff --git a/src/gallium/auxiliary/rtasm/rtasm_ppc.c b/src/gallium/auxiliary/rtasm/rtasm_ppc.c index 6d11263be8f..5e7bc02ed3f 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 */