summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/glapi/gl_x86-64_asm.py2
-rw-r--r--src/mesa/x86-64/glapi_x86-64.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/gl_x86-64_asm.py b/src/mesa/glapi/gl_x86-64_asm.py
index 483072842a0..999af6c844f 100644
--- a/src/mesa/glapi/gl_x86-64_asm.py
+++ b/src/mesa/glapi/gl_x86-64_asm.py
@@ -142,7 +142,7 @@ class PrintGenericStubs(gl_XML.gl_print_base):
print ''
print '\t.p2align\t4,,15'
print '_x86_64_get_dispatch:'
- print '\tmovq\t_glapi_tls_Disaptch@GOTTPOFF(%rip), %rax'
+ print '\tmovq\t_glapi_tls_Dispatch@GOTTPOFF(%rip), %rax'
print '\tmovq\t%fs:(%rax), %rax'
print '\tret'
print '\t.size\t_x86_64_get_dispatch, .-_x86_64_get_dispatch'
diff --git a/src/mesa/x86-64/glapi_x86-64.S b/src/mesa/x86-64/glapi_x86-64.S
index 5694a3b11e7..4db79116f7a 100644
--- a/src/mesa/x86-64/glapi_x86-64.S
+++ b/src/mesa/x86-64/glapi_x86-64.S
@@ -50,7 +50,7 @@ _x86_64_get_get_dispatch:
.p2align 4,,15
_x86_64_get_dispatch:
- movq _glapi_tls_Disaptch@GOTTPOFF(%rip), %rax
+ movq _glapi_tls_Dispatch@GOTTPOFF(%rip), %rax
movq %fs:(%rax), %rax
ret
.size _x86_64_get_dispatch, .-_x86_64_get_dispatch