summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-04-10 09:00:57 +0200
committerMichal Krol <michal@vmware.com>2009-04-10 09:07:22 +0200
commit05c70f8f5d95708cb4564946effb5c49d09068ec (patch)
tree026879327e5d5041465c5b365322dcb94d10b546
parent13be57df3ac00a4bdfdafb10605c3be7056a21a5 (diff)
rtasm: Silence `static function not used' warning.
-rw-r--r--src/gallium/auxiliary/rtasm/rtasm_cpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/rtasm/rtasm_cpu.c b/src/gallium/auxiliary/rtasm/rtasm_cpu.c
index 03bdd472386..2e15751e508 100644
--- a/src/gallium/auxiliary/rtasm/rtasm_cpu.c
+++ b/src/gallium/auxiliary/rtasm/rtasm_cpu.c
@@ -30,6 +30,7 @@
#include "rtasm_cpu.h"
+#if defined(PIPE_ARCH_X86)
static boolean rtasm_sse_enabled(void)
{
static boolean firsttime = 1;
@@ -43,6 +44,7 @@ static boolean rtasm_sse_enabled(void)
}
return enabled;
}
+#endif
int rtasm_cpu_has_sse(void)
{