From 8af72bee23fe0d9a100d7cd71ca8ec25288fda02 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 23 Nov 2003 21:45:00 +0000 Subject: 2003-11-23 Ralf Corsepius PR 525/rtems * include/rtems/system.h: Use RTEMS_INLINES instead of USE_INLINES. * include/rtems/score/chain.h: Ditto. * include/rtems/score/thread.h: Ditto. * src/chain.c: Ditto. * src/coremutexseize.c: Ditto. * src/threadget.c: Ditto. --- cpukit/score/ChangeLog | 10 ++++++++++ cpukit/score/include/rtems/score/chain.h | 2 +- cpukit/score/include/rtems/score/thread.h | 2 +- cpukit/score/include/rtems/system.h | 2 +- cpukit/score/src/chain.c | 4 ++-- cpukit/score/src/coremutexseize.c | 2 +- cpukit/score/src/threadget.c | 2 +- 7 files changed, 17 insertions(+), 7 deletions(-) (limited to 'cpukit') diff --git a/cpukit/score/ChangeLog b/cpukit/score/ChangeLog index 571c2ca787..ace25b27c3 100644 --- a/cpukit/score/ChangeLog +++ b/cpukit/score/ChangeLog @@ -1,3 +1,13 @@ +2003-11-23 Ralf Corsepius + + PR 525/rtems + * include/rtems/system.h: Use RTEMS_INLINES instead of USE_INLINES. + * include/rtems/score/chain.h: Ditto. + * include/rtems/score/thread.h: Ditto. + * src/chain.c: Ditto. + * src/coremutexseize.c: Ditto. + * src/threadget.c: Ditto. + 2003-11-23 Ralf Corsepius * Makefile.am: Don't use gmake to preinstall. diff --git a/cpukit/score/include/rtems/score/chain.h b/cpukit/score/include/rtems/score/chain.h index 84a38b95f9..7f74a692ee 100644 --- a/cpukit/score/include/rtems/score/chain.h +++ b/cpukit/score/include/rtems/score/chain.h @@ -86,7 +86,7 @@ void _Chain_Initialize( * _Chain_Get_first_unprotected */ -#ifndef USE_INLINES +#ifndef RTEMS_INLINES Chain_Node *_Chain_Get_first_unprotected( Chain_Control *the_chain ); diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index ef4119301c..56b01dc2aa 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -741,7 +741,7 @@ boolean _Thread_Evaluate_mode( void ); * subroutine call. */ -#ifndef USE_INLINES +#ifndef RTEMS_INLINES Thread_Control *_Thread_Get ( Objects_Id id, Objects_Locations *location diff --git a/cpukit/score/include/rtems/system.h b/cpukit/score/include/rtems/system.h index 7a9c3c5dfb..b6a8f95253 100644 --- a/cpukit/score/include/rtems/system.h +++ b/cpukit/score/include/rtems/system.h @@ -91,7 +91,7 @@ extern "C" { * type checking with no cost in code size or execution speed. */ -#ifdef USE_INLINES +#ifdef RTEMS_INLINES # ifdef __GNUC__ # define RTEMS_INLINE_ROUTINE static __inline__ # else diff --git a/cpukit/score/src/chain.c b/cpukit/score/src/chain.c index 8b8531dbf5..a7361319f0 100644 --- a/cpukit/score/src/chain.c +++ b/cpukit/score/src/chain.c @@ -67,7 +67,7 @@ void _Chain_Initialize( * _Chain_Get_first_unprotected */ -#ifndef USE_INLINES +#ifndef RTEMS_INLINES Chain_Node *_Chain_Get_first_unprotected( Chain_Control *the_chain ) @@ -82,7 +82,7 @@ Chain_Node *_Chain_Get_first_unprotected( return return_node; } -#endif /* USE_INLINES */ +#endif /* RTEMS_INLINES */ /*PAGE * diff --git a/cpukit/score/src/coremutexseize.c b/cpukit/score/src/coremutexseize.c index b106155874..c6b711355f 100644 --- a/cpukit/score/src/coremutexseize.c +++ b/cpukit/score/src/coremutexseize.c @@ -75,7 +75,7 @@ void _CORE_mutex_Seize_interrupt_blocking( _Thread_Enable_dispatch(); } -#if !defined(USE_INLINES) +#if !defined(RTEMS_INLINES) int _CORE_mutex_Seize_interrupt_trylock( CORE_mutex_Control *the_mutex, ISR_Level *level_p diff --git a/cpukit/score/src/threadget.c b/cpukit/score/src/threadget.c index 528ca2d1cd..97b31afdde 100644 --- a/cpukit/score/src/threadget.c +++ b/cpukit/score/src/threadget.c @@ -36,7 +36,7 @@ * NOTE: XXX... This routine may be able to be optimized. */ -#ifndef USE_INLINES +#ifndef RTEMS_INLINES Thread_Control *_Thread_Get ( Objects_Id id, -- cgit v1.2.3