Changeset 2312685 in mainline for generic/src/mm/heap.c


Ignore:
Timestamp:
2005-12-10T18:02:51Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3887b105
Parents:
7a8c866a
Message:

Fixes in new console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/mm/heap.c

    r7a8c866a r2312685  
    6565        chunk_t *x, *y, *z;
    6666
    67         size = ALIGN_UP(size, sizeof(__native));
    68 
    6967        if (size == 0)
    7068                panic("zero-size allocation request");
    7169               
     70        size = ALIGN_UP(size, sizeof(__native));
     71
    7272        x = chunk0;
    7373        ipl = interrupts_disable();
Note: See TracChangeset for help on using the changeset viewer.