Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 481a9380 in mainline


Ignore:
Timestamp:
2011-11-29T21:43:55Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
9fe7d6c
Parents:
38ff925
Message:

Allocate stacks used when THREAD is NULL from low-memory too.

File:
1 edited

Legend:

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

    r38ff925 r481a9380  
    7474                for (i = 0; i < config.cpu_count; i++) {
    7575                        cpus[i].stack = (uint8_t *) frame_alloc(STACK_FRAMES,
    76                             FRAME_KA | FRAME_ATOMIC);
     76                            FRAME_LOWMEM | FRAME_KA | FRAME_ATOMIC);
    7777                        cpus[i].id = i;
    7878                       
Note: See TracChangeset for help on using the changeset viewer.