]> git.proxmox.com Git - qemu.git/blobdiff - qemu-tls.h
sun4u: implement interrupt clearing registers
[qemu.git] / qemu-tls.h
index 5b70f10f8f4dc14c879af1ca98c4eadd441cd2a3..b92ea9d7da30f26964c4814425b8067b3399ec47 100644 (file)
 #ifdef __linux__
 #define DECLARE_TLS(type, x) extern DEFINE_TLS(type, x)
 #define DEFINE_TLS(type, x)  __thread __typeof__(type) tls__##x
-#define get_tls(x)           tls__##x
+#define tls_var(x)           tls__##x
 #else
 /* Dummy implementations which define plain global variables */
 #define DECLARE_TLS(type, x) extern DEFINE_TLS(type, x)
 #define DEFINE_TLS(type, x)  __typeof__(type) tls__##x
-#define get_tls(x)           tls__##x
+#define tls_var(x)           tls__##x
 #endif
 
 #endif