aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_cpu_detect.h
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-08-13 15:26:29 +0200
committerLuca Barbieri <[email protected]>2010-08-14 19:23:52 +0200
commit923256626931c057d1a7c20d8900768b0c1faea9 (patch)
treea095cfd8ffcb00d27e43522c28856e7b32ab1c41 /src/gallium/auxiliary/util/u_cpu_detect.h
parenteacb624a4a11867427955c812e64c00d5c82bcdd (diff)
u_cpu_detect: remove arch and little_endian
This logic duplicates the one in p_config.h, so remove it and adjust the only two places that were using it.
Diffstat (limited to 'src/gallium/auxiliary/util/u_cpu_detect.h')
-rw-r--r--src/gallium/auxiliary/util/u_cpu_detect.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/gallium/auxiliary/util/u_cpu_detect.h b/src/gallium/auxiliary/util/u_cpu_detect.h
index 4b3dc39c342..f3bef0993c7 100644
--- a/src/gallium/auxiliary/util/u_cpu_detect.h
+++ b/src/gallium/auxiliary/util/u_cpu_detect.h
@@ -36,26 +36,15 @@
#define _UTIL_CPU_DETECT_H
#include "pipe/p_compiler.h"
-
-enum util_cpu_arch {
- UTIL_CPU_ARCH_UNKNOWN = 0,
- UTIL_CPU_ARCH_MIPS,
- UTIL_CPU_ARCH_ALPHA,
- UTIL_CPU_ARCH_SPARC,
- UTIL_CPU_ARCH_X86,
- UTIL_CPU_ARCH_POWERPC
-};
+#include "pipe/p_config.h"
struct util_cpu_caps {
- enum util_cpu_arch arch;
unsigned nr_cpus;
/* Feature flags */
int x86_cpu_type;
unsigned cacheline;
- unsigned little_endian:1;
-
unsigned has_tsc:1;
unsigned has_mmx:1;
unsigned has_mmx2:1;