summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-22 20:45:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-22 20:45:23 +0000
commitb01619d7c09e014ac36927e874cfec585e484db6 (patch)
treea97543235a4034909d4b315bbcebcac5ee0754c0 /c
parent2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-b01619d7c09e014ac36927e874cfec585e484db6.tar.bz2
2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* src/irq-generic.c: Priority inheritance on simple binary semaphores makes no sense and has recently been added as an error condition.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/shared/ChangeLog5
-rw-r--r--c/src/lib/libbsp/shared/src/irq-generic.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/shared/ChangeLog b/c/src/lib/libbsp/shared/ChangeLog
index ece825c099..1cdeb57647 100644
--- a/c/src/lib/libbsp/shared/ChangeLog
+++ b/c/src/lib/libbsp/shared/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * src/irq-generic.c: Priority inheritance on simple binary semaphores
+ makes no sense and has recently been added as an error condition.
+
2009-05-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/stackalloc.h, src/stackalloc.c: New files.
diff --git a/c/src/lib/libbsp/shared/src/irq-generic.c b/c/src/lib/libbsp/shared/src/irq-generic.c
index f2293f9b48..71ab216ded 100644
--- a/c/src/lib/libbsp/shared/src/irq-generic.c
+++ b/c/src/lib/libbsp/shared/src/irq-generic.c
@@ -143,7 +143,7 @@ static rtems_status_code bsp_interrupt_lock( void)
sc = rtems_semaphore_create (
rtems_build_name( 'I', 'N', 'T', 'R'),
1,
- RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY,
+ RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_PRIORITY,
RTEMS_NO_PRIORITY,
&mutex
);