Changeset 821ae67 in rtems-libbsd


Ignore:
Timestamp:
Jan 30, 2014, 2:59:15 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, b96abfd647154f10ea8f7fac68e25676636eded5, debc0aed8b9bef9996b8ec0ae7a70b0b41912e27, 0ad342ae5f65d22eb6c914d58664d3b5d1d3d43f, freebsd-9.3, 98d197895b6162050176ea18d66783a1dc216d82
Children:
e21bf0d
Parents:
4c3433b
git-author:
Sebastian Huber <sebastian.huber@…> (01/30/14 14:59:15)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/30/14 15:23:05)
Message:

ZONE(9): Make sure the chunks are properly aligned

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/rtems/rtems-bsd-chunk.c

    r4c3433b r821ae67  
    4141#include <machine/rtems-bsd-chunk.h>
    4242
     43#include <rtems/bsd/sys/param.h>
    4344#include <sys/malloc.h>
    4445
     
    6667    rtems_bsd_chunk_info_ctor info_ctor, rtems_bsd_chunk_info_dtor info_dtor)
    6768{
     69        info_size = roundup(info_size, CPU_HEAP_ALIGNMENT);
     70
    6871        self->info_size = info_size;
    6972        self->info_ctor = info_ctor;
Note: See TracChangeset for help on using the changeset viewer.