diff options
author | Brian Paul <[email protected]> | 2003-12-01 22:40:26 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-12-01 22:40:26 +0000 |
commit | 9a90cd40c6e510484e018afd087a4c239b616ee0 (patch) | |
tree | d21d03c67264a1b457141beadd8f419ca521d848 /src/mesa/sparc/sparc.c | |
parent | 06cfb4456455afad149955dbaa853b9f4f18a066 (diff) |
fix __sparc_v9__ test to exclude linux (bug 852204)
Diffstat (limited to 'src/mesa/sparc/sparc.c')
-rw-r--r-- | src/mesa/sparc/sparc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/sparc/sparc.c b/src/mesa/sparc/sparc.c index 1eb4b922e5a..550c33856b0 100644 --- a/src/mesa/sparc/sparc.c +++ b/src/mesa/sparc/sparc.c @@ -165,7 +165,7 @@ void _mesa_init_sparc_glapi_relocs(void) 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]); |