Changeset effee6f in mainline
- Timestamp:
- 2006-02-22T11:34:33Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 778c1e1
- Parents:
- f5df72d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/align.h
rf5df72d reffee6f 43 43 * @param a Size of alignment, must be power of 2. 44 44 */ 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)) 50 46 51 47 #endif
Note:
See TracChangeset
for help on using the changeset viewer.