From e266d134ebf6f7b7722fffe23c3b4ad142001452 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 20 May 2016 15:10:27 +0200 Subject: Replace *_Get_interrupt_disable() with *_Get() Uniformly use *_Get() to get an object by identifier with a lock context. --- cpukit/rtems/src/taskstart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/rtems/src/taskstart.c') diff --git a/cpukit/rtems/src/taskstart.c b/cpukit/rtems/src/taskstart.c index 172979bde3..4b1ceb8a01 100644 --- a/cpukit/rtems/src/taskstart.c +++ b/cpukit/rtems/src/taskstart.c @@ -40,7 +40,7 @@ rtems_status_code rtems_task_start( ISR_lock_Context lock_context; bool ok; - the_thread = _Thread_Get_interrupt_disable( id, &lock_context ); + the_thread = _Thread_Get( id, &lock_context ); if ( the_thread == NULL ) { #if defined(RTEMS_MULTIPROCESSING) -- cgit v1.2.3