projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5403ca7
)
util: fix unused function warning on non-x86
author
Brian Paul
<brianp@vmware.com>
Tue, 27 Jul 2010 02:48:29 +0000
(20:48 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 27 Jul 2010 02:48:29 +0000
(20:48 -0600)
src/gallium/auxiliary/util/u_cpu_detect.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_cpu_detect.c
b/src/gallium/auxiliary/util/u_cpu_detect.c
index 23d33af4e413d25d44d474ffe5398bf00f78f8fe..879643463fbb39f527f650b2c67dee54149504d5 100644
(file)
--- a/
src/gallium/auxiliary/util/u_cpu_detect.c
+++ b/
src/gallium/auxiliary/util/u_cpu_detect.c
@@
-75,7
+75,10
@@
struct util_cpu_caps util_cpu_caps;
+#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)
static int has_cpuid(void);
+#endif
+
#if defined(PIPE_ARCH_X86)