commit | 9a90cd40c6e510484e018afd087a4c239b616ee0 | [log] [tgz] |
---|---|---|
author | Brian Paul <brian.paul@tungstengraphics.com> | Mon Dec 01 22:40:26 2003 +0000 |
committer | Brian Paul <brian.paul@tungstengraphics.com> | Mon Dec 01 22:40:26 2003 +0000 |
tree | d21d03c67264a1b457141beadd8f419ca521d848 | |
parent | 06cfb4456455afad149955dbaa853b9f4f18a066 [diff] [blame] |
fix __sparc_v9__ test to exclude linux (bug 852204)
diff --git a/src/mesa/sparc/sparc.c b/src/mesa/sparc/sparc.c index 1eb4b92..550c338 100644 --- a/src/mesa/sparc/sparc.c +++ b/src/mesa/sparc/sparc.c
@@ -165,7 +165,7 @@ disp_addr = (unsigned long) &_glapi_Dispatch; while (insn_ptr < end_ptr) { -#ifdef __sparc_v9__ +#if defined(__sparc_v9__) && !defined(__linux__) insn_ptr[0] |= (disp_addr >> (32 + 10)); insn_ptr[1] |= ((disp_addr & 0xffffffff) >> 10); __glapi_sparc_icache_flush(&insn_ptr[0]);