[rtems commit] posix: Fix typo
Sebastian Huber
sebh at rtems.org
Wed Nov 23 14:12:50 UTC 2016
Module: rtems
Branch: master
Commit: d42cf3388e6fdc2a82a4fcbeb704c8277cd611a5
Changeset: http://git.rtems.org/rtems/commit/?id=d42cf3388e6fdc2a82a4fcbeb704c8277cd611a5
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Nov 23 15:12:28 2016 +0100
posix: Fix typo
Update #2674.
---
cpukit/posix/src/pspinlock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/posix/src/pspinlock.c b/cpukit/posix/src/pspinlock.c
index a9b04d8..4701315 100644
--- a/cpukit/posix/src/pspinlock.c
+++ b/cpukit/posix/src/pspinlock.c
@@ -98,8 +98,8 @@ int pthread_spin_lock( pthread_spinlock_t *spinlock )
&cpu_self->Lock_stats_context
);
_POSIX_Spinlock_Owner = _SMP_Get_current_processor();
-#endif
}
+#endif
if ( ++_POSIX_Spinlock_Nest_level == 1) {
the_spinlock->interrupt_state = level;
More information about the vc
mailing list