From 9eb056f8c106190c94f34b5152c4bbea7e6258a0 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 11 May 2015 15:11:00 +0200 Subject: rtems: Avoid Giant lock for events --- cpukit/rtems/src/eventsurrender.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'cpukit/rtems/src/eventsurrender.c') diff --git a/cpukit/rtems/src/eventsurrender.c b/cpukit/rtems/src/eventsurrender.c index a16d40e7df..156586023d 100644 --- a/cpukit/rtems/src/eventsurrender.c +++ b/cpukit/rtems/src/eventsurrender.c @@ -109,12 +109,10 @@ void _Event_Surrender( cpu_self = _Thread_Dispatch_disable_critical( lock_context ); _Thread_Lock_release_default( the_thread, lock_context ); - _Giant_Acquire( cpu_self ); _Watchdog_Remove_ticks( &the_thread->Timer ); _Thread_Unblock( the_thread ); - _Giant_Release( cpu_self ); _Thread_Dispatch_enable( cpu_self ); } else { _Thread_Lock_release_default( the_thread, lock_context ); -- cgit v1.2.3