diff options
Diffstat (limited to 'cpukit/posix/src/sempost.c')
-rw-r--r-- | cpukit/posix/src/sempost.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cpukit/posix/src/sempost.c b/cpukit/posix/src/sempost.c index aa0c974117..8e8cce9251 100644 --- a/cpukit/posix/src/sempost.c +++ b/cpukit/posix/src/sempost.c @@ -48,12 +48,8 @@ int sem_post( case OBJECTS_LOCAL: _CORE_semaphore_Surrender( &the_semaphore->Semaphore, - the_semaphore->Object.id, -#if defined(RTEMS_MULTIPROCESSING) - NULL, /* POSIX Semaphores are local only */ -#else NULL, -#endif + 0, &lock_context ); return 0; |