syscall: Add missing definition of thread to access thread->sigpending

This commit is contained in:
Masamichi Takagi
2018-04-09 15:52:14 +09:00
parent 5a7ca14fcc
commit c6c3a84a46

View File

@ -9340,9 +9340,7 @@ long syscall(int num, ihk_mc_user_context_t *ctx)
{
long l;
#if !defined(POSTK_DEBUG_TEMP_FIX_60) && !defined(POSTK_DEBUG_TEMP_FIX_56)
#ifdef PROFILE_ENABLE
struct thread *thread = cpu_local_var(current);
#endif // PROFILE_ENABLE
#else /* !defined(POSTK_DEBUG_TEMP_FIX_60) && !defined(POSTK_DEBUG_TEMP_FIX_56) */
struct thread *thread = cpu_local_var(current);
#endif /* !defined(POSTK_DEBUG_TEMP_FIX_60) && !defined(POSTK_DEBUG_TEMP_FIX_56) */