From 0cb05d13b07474d97dca2c31d2163ff3ce462d4f Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Sat, 9 Apr 2022 22:50:04 +0800 Subject: [PATCH] docs: Fixes dispatch.rst with __THREAD_INITIAL_EXEC Signed-off-by: Yonggang Luo Reviewed-by: Jesse Natalie Part-of: --- docs/dispatch.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/dispatch.rst b/docs/dispatch.rst index cd1ca3434d9..2bdf732d292 100644 --- a/docs/dispatch.rst +++ b/docs/dispatch.rst @@ -143,8 +143,7 @@ reference. .. code-block:: c :caption: TLS ``GET_DISPATCH`` Implementation - extern __thread struct _glapi_table *_glapi_tls_Dispatch - __attribute__((tls_model("initial-exec"))); + extern __THREAD_INITIAL_EXEC struct _glapi_table *_glapi_tls_Dispatch; #define GET_DISPATCH() _glapi_tls_Dispatch