Changeset abf6c01 in mainline for kernel/generic/src/sysinfo/sysinfo.c


Ignore:
Timestamp:
2018-11-09T22:03:24Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
436a0a5
Parents:
ba9a150
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-08 17:00:46)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-09 22:03:24)
Message:

Add FRAME_ATOMIC to some allocations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/sysinfo/sysinfo.c

    rba9a150 rabf6c01  
    204204
    205205                *psubtree =
    206                     (sysinfo_item_t *) slab_alloc(sysinfo_item_cache, 0);
     206                    (sysinfo_item_t *) slab_alloc(sysinfo_item_cache, FRAME_ATOMIC);
    207207                if (!*psubtree)
    208208                        return NULL;
     
    280280
    281281                        sysinfo_item_t *item =
    282                             (sysinfo_item_t *) slab_alloc(sysinfo_item_cache, 0);
     282                            (sysinfo_item_t *) slab_alloc(sysinfo_item_cache, FRAME_ATOMIC);
    283283                        if (!item)
    284284                                return NULL;
Note: See TracChangeset for help on using the changeset viewer.