summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-03 20:25:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-03 20:25:35 +0000
commit27b961a39bbc5e23c33e185b72eefcd39c722e6d (patch)
tree92e604c103a8b41b7b8c65a0b373aedc2fd75cd7 /cpukit/sapi
parent2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-27b961a39bbc5e23c33e185b72eefcd39c722e6d.tar.bz2
2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* itron/src/task.c, posix/src/pthread.c, rtems/src/tasks.c, sapi/src/exinit.c, score/include/rtems/score/apiext.h, score/src/apiext.c: No APIs currently implemented use the predriver_hook so disable it until such time as it is used.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r--cpukit/sapi/src/exinit.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c
index 41cf37e2ce..40cb02a6ad 100644
--- a/cpukit/sapi/src/exinit.c
+++ b/cpukit/sapi/src/exinit.c
@@ -179,12 +179,12 @@ void rtems_initialize_before_drivers(void)
_MPCI_Create_server();
#endif
- /*
- * Run the API and BSPs predriver hook.
- */
-
- _API_extensions_Run_predriver();
-
+ #if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)
+ /*
+ * Run the API and BSPs predriver hook.
+ */
+ _API_extensions_Run_predriver();
+ #endif
}
void rtems_initialize_device_drivers(void)