diff options
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_memcpy.c')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_memcpy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_memcpy.c b/src/mesa/drivers/dri/unichrome/via_memcpy.c index 351ba26ff2..d7b05bcaaf 100644 --- a/src/mesa/drivers/dri/unichrome/via_memcpy.c +++ b/src/mesa/drivers/dri/unichrome/via_memcpy.c @@ -26,6 +26,7 @@ #include "via_tex.h" +#if defined( USE_SSE_ASM ) #define SSE_PREFETCH " prefetchnta " #define FENCE __asm__ __volatile__ ("sfence":::"memory"); @@ -134,5 +135,4 @@ void via_sse_memcpy(void *to, FENCE; } - - +#endif /* defined( USE_SSE_ASM ) */ |