Skip to content

Commit

Permalink
Apply @hannesm's review comments on bindings/tls.c
Browse files Browse the repository at this point in the history
Co-authored-by: Hannes Mehnert <[email protected]>
  • Loading branch information
dinosaure and hannesm committed Apr 25, 2023
1 parent 2f1416b commit a21f57e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bindings/tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ uintptr_t _solo5_tls_data_offset(uintptr_t tls)
#if defined(__x86_64__) || defined(__powerpc64__)
data = tls;
#elif defined(__aarch64__)
data = tls;
data = data + sizeof(struct tcb);
data = tls + sizeof(struct tcb);
#else
#error Unsupported architecture
#endif
Expand Down

0 comments on commit a21f57e

Please sign in to comment.