summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2010-08-09 08:24:41 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2010-08-09 08:24:41 +0000
commit93280b56fba19eb889e33f2fa715e060ddba4176 (patch)
treef14bbfe21b77833632550f15d87b0c8f52939b63
parent05d470a557a36988125199e2a8dc9da5b4d6df76 (diff)
downloadrtems-93280b56fba19eb889e33f2fa715e060ddba4176.tar.bz2
2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1604/cpukit * rtems/src/regioncreate.c: Removed superfluous parameter check.
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/rtems/src/regioncreate.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index c9d87b8897..ee88693689 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
+ PR 1604/cpukit
+ * rtems/src/regioncreate.c: Removed superfluous parameter check.
+
+2010-08-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
PR 1615/cpukit
* posix/src/keyrundestructors.c: Improved POSIX compliance. Now we may
have an unlimited number of iterations.
diff --git a/cpukit/rtems/src/regioncreate.c b/cpukit/rtems/src/regioncreate.c
index 7abab149c9..90aca79ea7 100644
--- a/cpukit/rtems/src/regioncreate.c
+++ b/cpukit/rtems/src/regioncreate.c
@@ -68,9 +68,6 @@ rtems_status_code rtems_region_create(
if ( !id )
return RTEMS_INVALID_ADDRESS;
- if ( !_Addresses_Is_aligned( starting_address ) )
- return RTEMS_INVALID_ADDRESS;
-
_RTEMS_Lock_allocator(); /* to prevent deletion */
the_region = _Region_Allocate();