Changeset 821ae67 in rtems-libbsd


Ignore:
Timestamp:
Jan 30, 2014, 2:59:15 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
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.