diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-19 21:05:39 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-19 21:05:39 +0000 |
commit | b1bf5a9be0439eaac0f178587ddaa99f5108e946 (patch) | |
tree | ea50ccd662c99481ea7a849c02bd19f0774659c5 /cpukit | |
parent | 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-b1bf5a9be0439eaac0f178587ddaa99f5108e946.tar.bz2 |
2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Revert. Requires info not available at
preprocessing time.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 56598da2b8..8c9cce16b1 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,10 @@ 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com> + * sapi/include/confdefs.h: Revert. Requires info not available at + preprocessing time. + +2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com> + * sapi/include/confdefs.h: Catch the error when the user lowers the maximum number of drivers below the number of statically configured ones. diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index 146dd91ad2..83a9dd35eb 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -407,9 +407,6 @@ rtems_driver_address_table Device_drivers[] = { #define CONFIGURE_MAXIMUM_DRIVERS CONFIGURE_NUMBER_OF_DRIVERS #endif -#if (CONFIGURE_MAXIMUM_DRIVERS < CONFIGURE_NUMBER_OF_DRIVERS) - #error "not enough slots for static drivers" -#endif /* * Default the number of devices per device driver. This value may be * overridden by the user. |