Changeset c8ca07e in mainline for uspace/drv/uhci/utils/malloc32.h


Ignore:
Timestamp:
2011-01-29T06:33:09Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
621fdaa
Parents:
44d8853 (diff), 76b57734 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Fixed (from Vojta): Use alignment and size in proper order (memalign)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci/utils/malloc32.h

    r44d8853 rc8ca07e  
    5353static inline void * malloc32(size_t size)
    5454/* TODO: this is ugly */
    55         { return memalign(size, 16); }
     55        { return memalign(16, size); }
    5656
    5757static inline void * get_page()
     
    6969
    7070static inline void * memalign32(size_t size, size_t alignment)
    71         { return memalign(size, alignment); }
     71        { return memalign(alignment, size); }
    7272
    7373static inline void free32(void * addr)
Note: See TracChangeset for help on using the changeset viewer.