diff options
author | Brian Paul <[email protected]> | 2004-11-22 19:27:40 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-11-22 19:27:40 +0000 |
commit | c247c7f66f7d38bb35cedb84b1a2c3655c356ac1 (patch) | |
tree | 60cddf59390aee1fea6d0db5cf8184571b9b2d55 /src/mesa/sparc/sparc.c | |
parent | 263317d00a4b3c4ee083cd74470c38083038e1ee (diff) |
applied SPARC patch (freedesktop bug 1898)
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 d0c6bba58e8..7f99eadffc0 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) { -#if defined(__sparc_v9__) && !defined(__linux__) +#if (defined(__sparc_v9__) && (!defined(__linux__) || defined(__linux_sparc_64__))) insn_ptr[0] |= (disp_addr >> (32 + 10)); insn_ptr[1] |= ((disp_addr & 0xffffffff) >> 10); __glapi_sparc_icache_flush(&insn_ptr[0]); |