From c6c3a84a465e158ca246f373bce67463d5e144c9 Mon Sep 17 00:00:00 2001 From: Masamichi Takagi Date: Mon, 9 Apr 2018 15:52:14 +0900 Subject: [PATCH] syscall: Add missing definition of thread to access thread->sigpending --- kernel/syscall.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/syscall.c b/kernel/syscall.c index 2d511fdd..80ca9aa1 100644 --- a/kernel/syscall.c +++ b/kernel/syscall.c @@ -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) */