Changeset effee6f in mainline


Ignore:
Timestamp:
2006-02-22T11:34:33Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
778c1e1
Parents:
f5df72d
Message:

Remove nasty ppc32 hack.
ppc32 now uses the stock ALIGN_UP().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/align.h

    rf5df72d reffee6f  
    4343 * @param a Size of alignment, must be power of 2.
    4444 */
    45 #ifdef ppc32    /* Nasty ppc32 hack. FIX ME. */
    46 #       define ALIGN_UP(s, a)           ((s) % (a) ? (((s) / (a)) + 1) * (a) : (s))
    47 #else
    48 #       define ALIGN_UP(s, a)           (((s) + ((a) - 1)) & ~((a) - 1))
    49 #endif
     45#define ALIGN_UP(s, a)          (((s) + ((a) - 1)) & ~((a) - 1))
    5046
    5147#endif
Note: See TracChangeset for help on using the changeset viewer.