aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mapi/entry_x86-64_tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mapi/entry_x86-64_tls.h')
-rw-r--r--mesalib/src/mapi/entry_x86-64_tls.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesalib/src/mapi/entry_x86-64_tls.h b/mesalib/src/mapi/entry_x86-64_tls.h
index 71e9d6063..5c03b0456 100644
--- a/mesalib/src/mapi/entry_x86-64_tls.h
+++ b/mesalib/src/mapi/entry_x86-64_tls.h
@@ -25,7 +25,6 @@
* Chia-I Wu <olv@lunarg.com>
*/
-#include "u_macros.h"
__asm__(".text\n"
".balign 32\n"
@@ -88,7 +87,7 @@ entry_generate(int slot)
0x41, 0xff, 0xa3, 0x34, 0x12, 0x00, 0x00,
};
unsigned long addr;
- void *code;
+ char *code;
mapi_func entry;
addr = x86_64_current_tls();