Changeset 11b285d in mainline for kernel/generic/src/adt/cht.c
- Timestamp:
- 2018-05-13T15:19:32Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ad896eb
- Parents:
- 13db2044
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-05-13 14:59:01)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-05-13 15:19:32)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/adt/cht.c
r13db2044 r11b285d 573 573 size_t bytes = 574 574 sizeof(cht_buckets_t) + (bucket_cnt - 1) * sizeof(marked_ptr_t); 575 cht_buckets_t *b = malloc(bytes, can_block ? 0 : FRAME_ATOMIC);575 cht_buckets_t *b = can_block ? nfmalloc(bytes) : malloc(bytes); 576 576 577 577 if (!b)
Note:
See TracChangeset
for help on using the changeset viewer.