Ticket #1560: patch.diff

File patch.diff, 764 bytes (added by Gedare Bloom, on 08/18/10 at 17:17:47)

Updated patch.

  • objectextendinformation.c

    RCS file: /usr1/CVS/rtems/cpukit/score/src/objectextendinformation.c,v
    retrieving revision 1.22
    diff -u -p -r1.22 objectextendinformation.c
    void _Objects_Extend_information( 
    160160    local_table = (Objects_Control **) _Addresses_Add_offset(
    161161        inactive_per_block, block_count * sizeof(uint32_t) );
    162162
     163    local_table = (Objects_Control **)
     164        (((uintptr_t)local_table) + CPU_ALIGNMENT - 1) & ~(CPU_ALIGNMENT - 1);
     165
    163166    /*
    164167     *  Take the block count down. Saves all the (block_count - 1)
    165168     *  in the copies.