Changeset 4f205248 in mainline for uspace/lib/c/arch/arm32/src/tls.c


Ignore:
Timestamp:
2018-04-23T18:50:40Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a2eb85d
Parents:
8d58fca
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-04-23 17:47:09)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-04-23 18:50:40)
Message:

Honor TLS alignment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/arm32/src/tls.c

    r8d58fca r4f205248  
    3838#include <stddef.h>
    3939
    40 tcb_t *tls_alloc_arch(void **data, size_t size)
     40tcb_t *tls_alloc_arch(size_t size, size_t align)
    4141{
    42         return tls_alloc_variant_1(data, size);
     42        return tls_alloc_variant_1(size, align);
    4343}
    4444
    45 void tls_free_arch(tcb_t *tcb, size_t size)
     45void tls_free_arch(tcb_t *tcb, size_t size, size_t align)
    4646{
    47         tls_free_variant_1(tcb, size);
     47        tls_free_variant_1(tcb, size, align);
    4848}
    4949
Note: See TracChangeset for help on using the changeset viewer.