Merge branch '7.8'
[mesa.git] / src / gallium / auxiliary / rtasm / rtasm_cpu.c
index 5499018b21934d026dfad9a06e834133630de3f2..2e15751e5086d80e5f3e36162f7176bd7edb610a 100644 (file)
  **************************************************************************/
 
 
-#include "pipe/p_debug.h"
+#include "util/u_debug.h"
 #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)
 {