From 88157a76de80e6182db7fb24baa374b7cfcdc960 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 5 Aug 2009 21:18:29 +0000 Subject: 2009-08-05 Joel Sherrill * libcsupport/Makefile.am, rtems/Makefile.am, rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am, score/Makefile.am, score/preinstall.am, score/include/rtems/score/heap.h, score/inline/rtems/score/heap.inl: Remove inline version now that it is in a C file. * libcsupport/src/end_profile.c: New file. --- cpukit/score/inline/rtems/score/heap.inl | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'cpukit/score/inline/rtems/score/heap.inl') diff --git a/cpukit/score/inline/rtems/score/heap.inl b/cpukit/score/inline/rtems/score/heap.inl index f080ed7fdc..bdbe40029a 100644 --- a/cpukit/score/inline/rtems/score/heap.inl +++ b/cpukit/score/inline/rtems/score/heap.inl @@ -225,28 +225,6 @@ RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned_ptr ( return (_H_p2u(ptr) % alignment) == 0; } -/** - * Align @a *value up to the nearest multiple of @a alignment. - * - * @param[in] value is a pointer to be aligned. - * @param[in] alignment is the alignment value. - * - * @return Upon return, @a value will contain the aligned result. - */ -RTEMS_INLINE_ROUTINE void _Heap_Align_up_uptr ( - _H_uptr_t *value, - uint32_t alignment -) -{ - _H_uptr_t remainder; - _H_uptr_t v = *value; - - remainder = v % alignment; - - if ( remainder ) - *value = v - remainder + alignment; -} - /** * Align @a *value down to the nearest multiple of @a alignment. * -- cgit v1.2.3